A High Performance Collections Library
Coalescing Ring Buffer: [Nick Zeeb] (https://github.com/nickzeeb)
Please see http://nickzeeb.wordpress.com/2013/03/07/the-coalescing-ring-buffer/ for an introduction
- .Net https://github.com/ncornwell/NCoalescingRingBuffer
- Python https://github.com/jstasiak/coalringbuf
- Initial release containing the Coalescing Ring Buffer
- Coalescing Ring Buffer improvements:
- 4% performance improvement by using lazy sets where possible
- constructor now rounds up capacity to the nearest higher power of two instead of throwing an exception
- nextRead index has been renamed firstWrite for clarity
- Coalescing Ring Buffer improvements:
- improve size method to return a consistent result when reading two volatiles
- see http://psy-lob-saw.blogspot.co.uk/2014/07/concurrent-bugs-size-matters.html for details
- thanks to Stanimir Simeonoff, Nitsan Wakart and Martin Thompson!
- Coalescing Ring Buffer improvements:
- Null out entries in the ring buffer once consumed