From my understanding of the OP's post. His requirements were that he should be able to randomly access the file by line number.
It will obviously be slower than a simple sequential read of the file as it has to do that once in order to build teh index. It is only when subsequent use is made to re-read individual records in random order that it will be beneficial.
In reply to Re: Re: Re: Fast way to read from file
by BrowserUk
in thread Fast way to read from file
by Hena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |