Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thrtythreeforty
9 days ago
|
parent
|
context
|
favorite
| on:
I've been writing ring buffers wrong all these yea...
Not only that, but you can also always form a normal (ptr, size) slice reference to any piece of the ring buffer, even when it wraps. This is
really
helpful for Eigen arrays that you need to rotate.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: