in reply to Re: Re: Grep Speeds
in thread Grep Speeds
If you already know that you want the last lines of your database, why don't you just use ' open DATA, "tail -n $number $filename|";'? That would speed up things, as perl doesn't have to work the whole file.
Jeroen
"We are not alone"(FZ)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Grep Speeds
by ImpalaSS (Monk) on Feb 06, 2001 at 21:44 UTC |