Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 scrutinizing the Monastery: (4)
As of 2014-07-12 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls