in reply to
Delete for array:
does splice'ing an array of hashes free memory?
may be of interest, regarding the merits of splice vs slice
I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku
...................
flash japh
Comment on
Re: Delete for array:
Replies are listed 'Best First'.
Re^2: Delete for array:
by
TJPride
(Pilgrim)
on Nov 28, 2011 at 05:21 UTC
Well, it's obviously not going to be efficient to remove one item at a time from a huge array via splice. But I would think that in those situations you'd use a different method.
[reply]
In Section
Cool Uses for Perl