good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re (tilly) 2: Comparing memory requirements for hashes and arraysby tilly (Archbishop) |
on Sep 03, 2001 at 23:41 UTC ( [id://109926]=note: print w/replies, xml ) | Need Help?? |
Don't forget that Perl uses power of 2 buffering, so your
array probably takes up considerably more space than just
the number of elements in it. Also the simple debuggability and extensibility of hash-based structures makes them a win over arrays in my books. Even if up front you think the development speed is going to be similar, the debugging speed will not be...
In Section
Seekers of Perl Wisdom
|
|