Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: mem usage

by ikegami (Pope)
on May 26, 2010 at 18:37 UTC ( #841782=note: print w/ replies, xml ) Need Help??


in reply to Re^2: mem usage
in thread mem usage

Close. When it grows, the array size doubles in size plus 4. An array with 1000 scalars in it could take up as much as

Array overhead + ( 999*2+4 ) * size of a pointer + 1000 * size of the scalars


Comment on Re^3: mem usage
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-02-09 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (306 votes), past polls