mirror of
https://github.com/Twigpine/zero.git
synced 2026-11-12 08:41:32 -10:00
Add a FastVariantID field to ModelEntry (mirroring UpgradeTargetID), populated in the catalog for the four same-family base/fast pairs and validated at registry build. Refactor the /fast helpers to derive both directions from this field instead of a hardcoded table, and add a HasFastVariant predicate for UI callers. Memoize DefaultRegistry with sync.OnceValues: the default catalog is static, every accessor returns clones, and a built registry is never mutated, so per-frame TUI callers no longer re-clone entries and recompile fuzzy-match regexes each render.