News for hackers. Stuff that matters.
Re:Shift-to-Middle Array: A Faster Alternative to Std:Deque? by pcwalton on Sunday March 23, 2025 @11:16PM (#43457564)
Oh, I see, it's actually on Wikipedia [1]. I figured I wasn't the first one to invent the idea :)

[1]: https://en.wikipedia.org/wiki/Circular_buffer#Optimization

There are no comments on this comment yet.