Skip to main content

lookup_bool_sym

Function lookup_bool_sym 

Source
pub fn lookup_bool_sym(key: SymStr) -> bool
Expand description

lookup_bool variant for hot call sites with a pre-pinned SymStr (see crate::pin!). Skips the per-call arena::pin(key) hash lookup — significant on every-expansion hot paths. SymStr is a u32 wrapper (Copy), so it passes by value — no borrow overhead.