Just another Perl shrine | |
PerlMonks |
Re: Strings and numbers: losing memory and mind.by syphilis (Archbishop) |
on Sep 28, 2007 at 08:32 UTC ( [id://641488]=note: print w/replies, xml ) | Need Help?? |
Interesting post ... it prompted me to run the following:
On Win32 that outputs 32 16 (56 24 on a 64-bit build of perl). I guess that's a reliable way of determining the memory consumed by both $str (32 bytes) and $num (16 bytes). Zat right ? Cheers, Rob
In Section
Meditations
|
|