Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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?
[shmem]: missing is an euphemism
[Discipulus]: a piano et¨de can be harmfull, anyway
[shmem]: grandola vila morena *sing*
[Discipulus]: are you sharing your memory? ;=) and ++
[shmem]: Discipulus of course ;-)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-04-29 22:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.