Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Reducing memory footprint when doing a lookup of millions of coordinates

by admiral_grinder (Pilgrim)
on Feb 28, 2011 at 20:58 UTC ( [id://890642]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Reducing memory footprint when doing a lookup of millions of coordinates
in thread Reducing memory footprint when doing a lookup of millions of coordinates

The database is a really good idea. I doubt that SQLite keeps the whole database file in memory itself. Could even locate the file to ram disk or similar as a speed bonus.

You can still use the same code though to do the lookups (with minor modifications):

  1. Get a unique list of all chr.
  2. Foreach chr retrieve all entires (using retrieve_hashref)
  3. use existing code (but work on hashrefs).
  • Comment on Re^3: Reducing memory footprint when doing a lookup of millions of coordinates

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-19 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found