The stupid question is the question not asked | |
PerlMonks |
Re^6: Perl memory usageby kscaldef (Pilgrim) |
on Sep 02, 2005 at 08:26 UTC ( [id://488574]=note: print w/replies, xml ) | Need Help?? |
Is 6x really that crazy? Doesn't a typical generic C tree use about 4x? (If you're storing integers in the tree. If you are storing something larger, the overhead is smaller.) The perl array includes at least a reference count and a length that aren't in the C Node struct, so 6x quickly becomes plausible.
In Section
Meditations
|
|