How big is yours and why do you think you need to reduce its size?I have a hash on disk that exceeds 42GB. I use a hash to avoid duplicates. Walking the hash through DBM::Deep takes about 5x longer than the equivalent memory hash. Of course, I haven't tried it on one this big, so it's much likely worse.
There isn't any super tricky thing that "re-uses" strings via a pointer to that string.Thanks. I was just wondering if Perl already did this for me. Since that's not the case, it might be worth a try.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^2: Hash key or value string reuse?
by QM
in thread Hash key or value string reuse?
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |