People are answering about the size of the array, but you seem to be asking the hashes.
Or will the hashrefs be orphaned?
A variable that becomes orphaned (i.e. whose refcount becomes zero) is freed automatically.
Splicing one of the hash references from the array frees the reference, which reduce the refcount on the hash, which frees the hash.
In reply to Re: does splice'ing an array of hashes free memory?
by ikegami
in thread does splice'ing an array of hashes free memory?
by lagle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |