Skip to content

Glossary: System Design Beyond the Basics in Rust

BinaryHeap

A Rust collection that is a max-heap, used for top-k and priority work. Wrapping items in `Reverse` makes it a min-heap.

Where the book teaches it