Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: shift vs @_

by chromatic (Archbishop)
on Oct 03, 2006 at 02:03 UTC ( #575993=note: print w/ replies, xml ) Need Help??

in reply to Re^2: shift vs @_
in thread shift vs @_

Besides style, is there any performance penalty paid by shift?

Yes; if you do it repeatedly hundreds of thousands of times in a tight loop, you might slow down your program as much as performing one IO operation. In other words, none that you will ever notice.

Comment on Re^3: shift vs @_

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2015-11-27 12:54 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (729 votes), past polls