Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Need help to fine tune perl script to make it faster( currently taking more than 30 minutes)

by Jenda (Abbot)
on Nov 14, 2012 at 09:19 UTC ( #1003768=note: print w/ replies, xml ) Need Help??


in reply to Re: Need help to fine tune perl script to make it faster( currently taking more than 30 minutes)
in thread Need help to fine tune perl script to make it faster( currently taking more than 30 minutes)

And if the data do not fit in memory and Tie::File doesn't help enough, you can read the data from read_source into an array tied to BerkeleyDB::Recno. That way the data are on disk, but the access by line number is very efficient.

Jenda
Enoch was right!
Enjoy the last years of Rome.


Comment on Re^2: Need help to fine tune perl script to make it faster( currently taking more than 30 minutes)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-09-21 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls