[Israel.pm] Handling huge data-structures?

Yuval Yaari yuval at windax.com
Tue Aug 31 04:35:13 PDT 2004


May I ask how big were the data-structures you worked with?

  --Yuval


Itamar Elem said:
> hi
> from my experience no
> itamar
>
> -----Original Message-----
> From: Yuval Yaari [mailto:yuval at windax.com]
> Sent: Tuesday, August 31, 2004 11:16 AM
> To: perl at perl.org.il
> Subject: RE: [Israel.pm] Handling huge data-structures?
>
>
> Could anyone tell me if BerkeleyDB::Hash also loads all the data to the
> memory?
> Otherwise -- this is the best solution so far :)
>
>   --Yuval
>
>
> Itamar Elem said:
>> hi
>> you can try use BerkeleyDB module
>> its the interface for the new version of use BerkeleyDB (3.* and
>> above) and its have hash interface
>>
>>          use BerkeleyDB;
>>
>>          $db  = tie %hash, 'BerkeleyDB::Hash', [OPTIONS] ;
>>          $db  = new BerkeleyDB::Hash [OPTIONS] ;
>>
>>          $db  = tie %hash, 'BerkeleyDB::Btree', [OPTIONS] ;
>>          $db  = new BerkeleyDB::Btree [OPTIONS] ;
>>
>>
>> and more
>>
>> itamar
>
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl






More information about the Perl mailing list