Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2014-07-23 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (146 votes), past polls