True but since I can't find this "aliasing" documented in delete it has the disadvantage of an implementation detail.
Though I don't expect it to be changed ever, since it's a safe performance gain.
And more importantly the code wouldn't break if this was changed, only slow down.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re^2: push to array without copying (\@_)
by LanX
in thread push to array without copying
by chris212
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |