HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by nivethan | Hacker News Reader
Parent
Full thread
nivethan
·
Why?
View on HN
comfydragon
·
Probably just an efficiency argument, since deque is designed to be efficient when used as a stack/queue.
https://docs.python.org/3.8/library/collections.html#collect...
Reply on news.ycombinator.com