Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Reducing memory usage while matching log entries

by salva (Canon)
on Feb 01, 2006 at 15:27 UTC ( [id://527075]=note: print w/replies, xml ) Need Help??


in reply to Reducing memory usage while matching log entries

An easy way is to sort the file on disk using the lock id as the primary sorting key with some CPAN module as Sort::External, Sort::Key::Merger or even the sort command.

After that, assuming nested locks are not allowed, every lock entry should be followed by an unlock one, something very easy to parse!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2024-04-24 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found