Releases: abhinav/ring-go
Releases · abhinav/ring-go
v0.3.0
Removed
- Drop Q.Do method. Modifying the queue while iterating leads to unexpected behavior.
v0.2.0
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.