Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: To push and pop or not to push and pop?

by robin (Chaplain)
on Nov 05, 2005 at 23:47 UTC ( #506041=note: print w/ replies, xml ) Need Help??


in reply to To push and pop or not to push and pop?

Clearly push and pop work at the growable end of the array so obviously there is an efficiency advantage.

As you've probably guessed by now, both ends are growable.

Unshift used to be quite a bit slower before tilly fixed it.


Comment on Re: To push and pop or not to push and pop?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-12-17 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (40 votes), past polls