in reply to Sorting data that don't fit in memory
As an alternate to tilly's suggestion, consider using DBM::Deep. One of its design requirements was to provide access to more data than could fit in memory. I'm not sure about the performance comparisons, but if you happen to be dealing with multi-level datastructures (HoAoHoAoA or something similar), nothing is going to beat DBM::Deep. In addition, DBM::Deep is (I believe) the only DBM that correctly handles Perl references. That may also be a consideration.
My criteria for good software:
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Sorting data that don't fit in memory (DBM::Deep)
by tye (Sage) on Oct 10, 2007 at 16:05 UTC | |
by dragonchild (Archbishop) on Oct 10, 2007 at 17:10 UTC | |
by tye (Sage) on Oct 10, 2007 at 17:24 UTC |
In Section
Seekers of Perl Wisdom