Ei kuvausta

Evan Huus 4cf52fc23a Add a comment, switch a conditional for readability 10 vuotta sitten
.gitignore 3ed486bafe Initial commit 11 vuotta sitten
.travis.yml c97964547f Run CI on containers 10 vuotta sitten
LICENSE 3ed486bafe Initial commit 11 vuotta sitten
README.md 9590538404 Add gopkg.in info in readme 11 vuotta sitten
queue.go 4cf52fc23a Add a comment, switch a conditional for readability 10 vuotta sitten
queue_test.go 5a1f0d394b Two more tests, just for completeness's sake 11 vuotta sitten

README.md

Queue

Build Status GoDoc

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.