Fast golang queue using ring-buffer
Switch branches/tags
Nothing to show
Clone or download
eapache Merge pull request #16 from glaslos/patch-1
replacing the png with scaling svg
Latest commit 093482f Feb 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit May 12, 2014
.travis.yml Run CI on containers Mar 21, 2015
LICENSE Initial commit May 12, 2014
README.md replacing the png with scaling svg Feb 27, 2018
queue.go Remove() returns item removed. Aug 4, 2016
queue_test.go Remove() returns item removed. Aug 4, 2016

README.md

Queue

Build Status GoDoc Code of Conduct

A fast Golang queue using a ring-buffer, based on the version suggested by Dariusz Górecki. Using this instead of other, simpler, queue implementations (slice+append or linked list) provides substantial memory and time benefits, and fewer GC pauses.

The queue implemented here is as fast as it is in part because it is not thread-safe.

Follows semantic versioning using https://gopkg.in/ - import from gopkg.in/eapache/queue.v1 for guaranteed API stability.