Skip to content

Releases: abhinav/ring-go

v0.3.0

15 Apr 23:15
2aa4d2d
Compare
Choose a tag to compare

Removed

  • Drop Q.Do method. Modifying the queue while iterating leads to unexpected behavior.

v0.2.0

07 Apr 21:20
9d6fa73
Compare
Choose a tag to compare

Added

  • Add Snapshot method to build a slice from queue contents.
  • TryPop and TryPeek variants of Pop and Peek that don't panic.
  • Add MuQ, a thread-safe variant of Q with a similar API.

Fixed

  • Don't allocate if a queue is filled exactly to capacity.

v0.1.0

03 Apr 00:50
161e057
Compare
Choose a tag to compare

Initial release