in reply to Re^3: Completeness of Devel::Size answers
in thread Completeness of Devel::Size answers

To detect cycles, you need only keep a hash as large as your search is deep. That even allows you to detect cycles "immediately", but it doesn't tell you when you have the same structure referenced from two different places in your directed, acyclic graph: my @a= ( \%huge, \%huge );

- tye