Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: push to array without copying (\@_)

by LanX (Saint)
on Nov 15, 2016 at 06:03 UTC ( [id://1175924]=note: print w/replies, xml ) Need Help??


in reply to Re: push to array without copying (\@_)
in thread push to array without copying

> But I'd likely go with BrowserUk's suggestion instead

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.

edit

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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1175924]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-03-29 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found