Commit Graph

5 Commits

Author SHA1 Message Date
9a15ebed25 Add iterators for mq and npq.
All checks were successful
Build & Test / Main (push) Successful in 13s
2024-09-07 02:10:40 -07:00
b00fe25128 Various improvements.
* Expand README.md, provide benchmark results.
* Add docs, benchmarks for binheap and circ packages.
* Add methods Len() and Capacity().
* Change *sync.Cond to sync.Cond.
* TryRecv() and TrySend() distinguish empty and closed errors.
* Improve test coverage.
* Add basic Makefile.
* Fix documentation mistakes.
2023-03-03 15:35:49 -08:00
b3b491d9a9 Move priority queue to pq package; improve docs. 2023-03-02 01:53:12 -08:00
5e23a92314 Add high contention benchmark. 2023-03-01 19:31:36 -08:00
ab364c31bb Implement a true priority queue.
* Add a binary max-heap implementation, `binheap`.
* Rename `precise` package to `mq`.
2023-03-01 19:29:15 -08:00