Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
_Wintermute
9y ago
0 comments
Save
Share
A deque is probably a better option for performance.
0 comments
1 comments · 1 top-level
top
newest
oldest
xapata
9y ago
Depends on how much it grows. I'd actually expect very little difference for most append/pop situations. A deque is there for appendleft and popleft.
j
/
k
navigate · click thread line to collapse