Skip to main content

frequency_boost

Function frequency_boost 

Source
fn frequency_boost(use_count: u32) -> u32
Expand description

Boost for commands used repeatedly within the loaded window, so workhorse commands outrank one-offs at similar match quality. Log-scale and capped below a single matched char (~16 in nucleo’s scale) so frequency can break near-ties but never swamp match quality: 1 use → 0, 2-3 → 4, 4-7 → 8, 8+ → 12.