in reply to Re: undefining hashes to free memory
in thread undefining hashes to free memory

An interesting optimization. Exactly what gets kept, then? I'm guessing it's the probably the array to hold the key references.

/me notes that this will only become a problem if you have lots of different lexicals that hold a lot of data - one after the other - which is probably not a common case, and easily avoided by undef'ing them as demonstrated above

  • Comment on Re: Re: undefining hashes to free memory