ls lib/rust/
Rust
std's HashMap (hashbrown) and its sorts.
- draft How Rust sorts: driftsort, ipnsort and select_nth_unstableWhat slice::sort, sort_unstable and select_nth_unstable do in Rust 1.100.1: driftsort and ipnsort since 1.81, insertion sort up to 20 elements, when the stable sort allocates, an O(n) selection with a median-of-medians fallback, and why a bad comparison can now panic.
- draft How Rust's HashMap works: hashbrown, Swiss tables and SipHashWhat std's HashMap in Rust 1.100.1 does with a key: hashbrown's Swiss table with one control byte per slot, 8-byte groups on Apple silicon and 16 on x86, a 7/8 load factor, and SipHash-1-3 under keys that change per thread and per map.