Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re (tilly) 2: Comparing memory requirements for hashes and arrays

by tilly (Archbishop)
on Sep 03, 2001 at 23:41 UTC ( [id://109926]=note: print w/replies, xml ) Need Help??


in reply to Re: Comparing memory requirements for hashes and arrays
in thread Comparing memory requirements for hashes and arrays

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...

  • Comment on Re (tilly) 2: Comparing memory requirements for hashes and arrays

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://109926]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2024-04-19 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found