Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: