Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: what is the maximum elements storage in a Hash or an array variable

by QM (Parson)
on Oct 11, 2017 at 09:08 UTC ( #1201150=note: print w/replies, xml ) Need Help??


in reply to Re: what is the maximum elements storage in a Hash or an array variable
in thread what is the maximum elements storage in a Hash or an array variable

You may be interested in DBM::Deep, which can map a memory hash to disk. It can also write files much larger than 4GB, on 64bit systems (see Large File Support).

It's also slower than a pure in memory hash, but the on-disk hash is persistent, and may perform better than a disk-swapping context.

(I'm not associated with DBM::Deep, but I used it extensively some years ago, and it saved a lot of time and trouble. So I always try to give back and suggest it where appropriate.)

-QM
--
Quantum Mechanics: The dreams stuff is made of

  • Comment on Re^2: what is the maximum elements storage in a Hash or an array variable

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2021-04-14 17:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?