Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mantono/cheap
Priority queue as a channel
https://github.com/mantono/cheap
channels concurrency data-structures heap mpmc mpsc
Last synced: about 1 month ago
JSON representation
Priority queue as a channel
- Host: GitHub
- URL: https://github.com/mantono/cheap
- Owner: mantono
- License: mit
- Created: 2023-12-06T23:47:42.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-09T15:38:24.000Z (4 months ago)
- Last Synced: 2024-09-09T19:21:27.390Z (4 months ago)
- Topics: channels, concurrency, data-structures, heap, mpmc, mpsc
- Language: Rust
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# cheap
A _channel_ heap in Rust, i.e. a fixed capacity binary heap (priority queue) over a channel. It supports both multiple producers and multiple consumers using the same heap.See [examples](examples/) for example code.