Skip to main content

width_cache_stats

Function width_cache_stats 

Source
pub fn width_cache_stats() -> Option<S3FifoStats>
Expand description

Snapshot of the calling thread’s grapheme width cache statistics, or None when the cache is disabled.

Hits require exact grapheme equality; hash collisions count as misses. ASCII and clusters exceeding the retained-key byte limit bypass the cache and do not contribute to either counter.