Thank you for your wonderful suggestions. I finally ended by using memfiles as
suggested by @cblake which improved (reduced) the runtime significantly, but if
I may ask, does this (below code) load the entire file content into memory?
var fs = newMemMapFileStream(paramStr(1), fmRead)
while not fs.atEnd:
echo fs.readChar()
Run
- Noob question: proper way to read binary files byte by byte vimal73700
- Re: Noob question: proper way to read binary files byte by... r3c
- Re: Noob question: proper way to read binary files byt... mashingan
- Re: Noob question: proper way to read binary files... cblake
- Re: Noob question: proper way to read binary f... vimal73700
