in reply to speeding up a file-based text search

You might benefit from using the sliding buffer technique (see: Re: split and sysread()).


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
  • Comment on Re: speeding up a file-based text search

Replies are listed 'Best First'.
Re: Re: speeding up a file-based text search
by perrin (Chancellor) on May 06, 2003 at 18:15 UTC
    That's about what I was thinking of doing with read. Thanks for the sample code!