in reply to Re: Bug when undefining a large hash
in thread Bug when undefining a large hash
Thanks for suggestions! Results:
"%hash = ();" appears to do much the same as undef(), at least, it creates the same long delay.
Iterating all the keys and deleting them is slower than undef, although not by much: around 16 secs as opposed to 14 secs for undef.
So, no solutions there, but thanks for the ideas.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Bug when undefining a large hash
by dHarry (Abbot) on Aug 22, 2008 at 13:55 UTC |