Optimizing a ring buffer for throughput (2021)
There is a cool trick using virtual memory allowing fast and gapless ring buffers.See this page (about half way down) https://ruby0x1.github.io/machinery_blog_archive/post/virtua...