OT: perl vs shell cmd
Matthew Miller
mattdm at mattdm.org
Tue Jun 14 13:57:01 UTC 2005
On Tue, Jun 14, 2005 at 10:52:55AM -0300, Ben Steeves wrote:
> > > Supose I want to parse a big log file (~500MB/4mil lines), which one is
> > > faster and use less memory:
> My money's on the grep/pipe, since your grep pattern is quite simple.
Especially if you set LANG=C first (if you can).
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 80 degrees Fahrenheit.
More information about the fedora-list
mailing list