Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
delifue
40 days ago
|
parent
|
context
|
favorite
| on:
Shift-to-Middle Array: A Faster Alternative to Std...
If I keep removing one element in front and adding one element on back, then normal ring-buffer deque will involve no copying, but this will keep doing copying to empty space, so its performance could be much worse than deque if the queue is large.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: