Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by pg (Canon)
on Nov 06, 2005 at 03:02 UTC ( #506070=note: print w/replies, xml ) Need Help??


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

Whether to use a certain data structure is not only determined by the speed, especially when the speed is close. Between queue and stack, there is also a legibility consideration there, and whichever makes more sense logically should be used.

  • 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://506070]
help
Chatterbox?
NodeReaper drums his fingers on the chair arm

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2017-02-25 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (365 votes). Check out past polls.