I have a large lookup table which is stored in an array of 2,097,152 Integers. My values that I am looking up could fit into a byte (0-255), but it appears VB6 stores "everything" in 16 bit data storage anyway.
I need an efficient manner to store/retrieve this array of numbers to/from a file.
Since VB6 is not a language I use frequently I first dumped them to a text file using FileSystemObject and WriteLine to write each number. As you can expect this took a bit of time. I'd like to do fewer and bigger disk accesses. Maybe access chunks of the array at once instead of one element at a time?