Skip to content

Glossary: System Design Beyond the Basics in Rust

partial_cmp

Also written: select_nth_unstable_by

The Rust comparison for f64, which can be NaN and so has no total order. `select_nth_unstable_by` uses it to move the best k items to the front without fully sorting.

Where the book teaches it

Related terms

Feed cache