Skip to content

v0.1.2

Latest
Compare
Choose a tag to compare
@GavinClarke0 GavinClarke0 released this 22 Apr 15:42
· 3 commits to master since this release
50666d9

Release Changes

=> Changed reader, writer index logic to now mean that the value of the index is the last value read/written to.
=> Removed locks and simplified consumer add operations. This now better suits one of the original intended use cases of being able to remove/add consumers rapidly when using the buffer in a broadcast pattern.
=> Changed loop operations on readers to now yield on first indication write is not currently possible. Replace loop and if statements with goto to retry write on failure reducing branching on successful and yielding write operations. This was found to improve speed significantly in concurrent environments.
=> Refactor buffer itself to use consistent naming for reader value
=> make tests use same implementation to ensure read/write order is consistent
=> Update readme with new benchmarks