http://www.perlmonks.org?node_id=1090157


in reply to Enforce Memory Cleanup

undefining a hash key will not remove its key, deleteing will do that.

Replies are listed 'Best First'.
Re^2: Enforce Memory Cleanup
by solegaonkar (Beadle) on Jun 18, 2014 at 03:37 UTC
    Hi delete does clear the memory... but it takes ages to complete - since the code has to look through each key in the hash... We need some faster way to clear the memory