[Israel.pm] Handling huge data-structures?

Yuval Yaari yuval at windax.com
Sun Aug 29 09:13:55 PDT 2004

I'm asking about this just for reading/editing files (and I know the
classic Tie::File).
I would like to know how to keep and manipulate huge data-structures, as
if they're in the memory.

It might be impossible... But then again, what is?


Offer Kaye said:
> On Sun, 29 Aug 2004 17:32:33 +0300 (IDT), Yuval Yaari wrote:
>> I have a <1GB file that I want to keep in a hash, and work with that
>> hash like a normal hash, just keep it out of my memory (on the HDD,
>> probably).
>> What solutions exist (except for buying more RAM) and what are their
>> limitations?
>>   Thanks,
>>   --Yuval
> Array based rather than hash based solution, but good for large data
> sets and works pretty much as you described above:
> Tie::File
> --
> Offer Kaye
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl

More information about the Perl mailing list