Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Should Devel::Size work on tied arrays?

by Elian (Parson)
on Feb 01, 2006 at 20:34 UTC ( #527161=note: print w/replies, xml ) Need Help??


in reply to Should Devel::Size work on tied arrays?

Devel::Size should work on tied anything -- there's code in it to detect attached magic structures and extract their sizes. I thought I had the code in there such that it wouldn't trigger the magic when walking the internal data structures, but I may have bobbled that. Devel::Size, unfortunately, doesn't have a particularly comprehensive test suite. (In part because the size of things is so terribly dependent on architecture and in part because I couldn't figure out a good way to test it)

I'll grab this code and start beating on Devel::Size (which needs some beating anyway, as there's a bug in 0.64 that needs fixing) and see what I can see.

  • Comment on Re: Should Devel::Size work on tied arrays?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://527161]
help
Chatterbox?
[chacham]: dsv

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-07-22 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (340 votes). Check out past polls.