Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: How to quickly parse a huge web log file?

by Joost (Canon)
on Jul 21, 2007 at 21:41 UTC ( #628035=note: print w/ replies, xml ) Need Help??


in reply to Re: How to quickly parse a huge web log file?
in thread How to quickly parse a huge web log file?

index() is probably not faster if you only want to test the very beginning of a string.

doing a substr($input,0,$length_of_match) eq $match just might be a little faster, though.


Comment on Re^2: How to quickly parse a huge web log file?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://628035]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-11-27 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (177 votes), past polls