Keep It Simple, Stupid | |
PerlMonks |
Re: speeding up a file-based text searchby BrowserUk (Patriarch) |
on May 06, 2003 at 18:02 UTC ( [id://255970]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|