<?xml version="1.0" encoding="windows-1252"?>
<node id="732953" title="Re^2: Memory Efficient Alternatives to Hash of Array" created="2008-12-28 22:25:39" updated="2008-12-28 22:25:39">
<type id="11">
note</type>
<author id="85580">
dragonchild</author>
<data>
<field name="doctext">
As the maintainer of [mod://DBM::Deep], I need to echo [tilly] here. While dbm-deep &lt;i&gt;can&lt;/i&gt; allow you to address such large datasets (&gt;4G requires 64-bit Perl just because 32 bits only addresses 4G and change), it is going to be very slow. Just building the 4G file can take a very long time. Sorting a large array (&gt;10k entries, roughly) in dbm-deep &lt;b&gt;will&lt;/b&gt; take a very very long time.
&lt;p&gt;While one of dbm-deep's use cases is dealing with data that's too large to fit in RAM, you really want to have that happen with lookups, not when dealing with large datasets. There are other languages and setups better suited for this, such as Erlang or CouchDB.
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-85580"&gt;
&lt;hr&gt;
My criteria for good software:
&lt;ol&gt;
&lt;li&gt;Does it work?
&lt;li&gt;Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
&lt;/ol&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
732751</field>
<field name="parent_node">
732766</field>
</data>
</node>
