I just ported a VB routine that reads a binary data file into arrays to PB DLL 5.0, hoping for a big performance improvement. For a file of 40,000 4-byte reals, it takes 11 sec on a 486 DX2 ... the same as it did when coded in VB 4. How can I speed it up?
(NB. I once wrote a similar DLL under Microsoft Fortran 5.1, using 16-bit Windows API calls for the I/O, and it was almost too fast to measure.)
(NB. I once wrote a similar DLL under Microsoft Fortran 5.1, using 16-bit Windows API calls for the I/O, and it was almost too fast to measure.)
Comment