7 ms·
Using black magic to make a fast circular buffer (2017)
- gnabgib 2y agoAlso known as The Bip Buffer (from 2003) https://www.codeproject.com/articles/3479/the-bip-buffer-the-circular-buffer-with-a-twist https://www.codeproject.com/articles/3479/the-bip-buffer-the...
- thesnide 2y agoHmmm... wondering why using arcane memfd_create() instead of simply opening a regular file on a tmpfs filesystem, such as /dev/shm.