Wow! Plenty of good ideas for me to work on...
At 0.3s, it will be more than fast enough. I may also try Floyd's idea in a slightly modified way: to overwrite the first 4 bytes in the file to make an integer that will be equal the length of the remaining bytes of the files and then read it as a string. That should work as I don't need those first 4 bytes anyway. I should work on a copy of a the file, though, which may slows down things a bit.
Thanks alot, guys.
At 0.3s, it will be more than fast enough. I may also try Floyd's idea in a slightly modified way: to overwrite the first 4 bytes in the file to make an integer that will be equal the length of the remaining bytes of the files and then read it as a string. That should work as I don't need those first 4 bytes anyway. I should work on a copy of a the file, though, which may slows down things a bit.
Thanks alot, guys.