|
|
|
Your skill will accomplish what the force of many cannot |
|
| 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?? |
|
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.
In Section
Meditations
|
|
||||||||||||||||||||