in reply to Data structure Memory Usage
How can I find out how much memory my datastructure is using upUse Elian's marvellous Devel::Size e.g
See. Devel::Size for more info.use Devel::Size 'total_size'; my %struct = ("key1" => ["bill","ben"], "key2" => ["dave","jen"]); print "total size of %struct - ", total_size(\%struct); __output__ total size of %struct - 412
_________
broquaint
|
---|