useWarmSearchIndex - Idle-time fuzzy search index warming
Rebuilds a corpus-keyed fuzzy search index during idle time whenever its
corpus changes, so the expensive buildItemIndex pass runs off the critical
path instead of synchronously on the user's first keystroke. Pairs with the
makeItemIndexCache getters that back useTags / useIngredients: warming
populates their WeakMap cache for the current corpus reference, turning the
first real search into a cache hit.
useWarmSearchIndex - Idle-time fuzzy search index warming
Rebuilds a corpus-keyed fuzzy search index during idle time whenever its corpus changes, so the expensive
buildItemIndexpass runs off the critical path instead of synchronously on the user's first keystroke. Pairs with themakeItemIndexCachegetters that backuseTags/useIngredients: warming populates theirWeakMapcache for the current corpus reference, turning the first real search into a cache hit.