perf: pre-index cross-layer effects + Performance Mode toggle; v0.1.24 #14
Reference in New Issue
Block a user
Delete Branch "feature/performance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The tick engine used to walk every layer's upgrades on every buyable on
every layer per tick (O(L² × U), ~10K predicate checks/sec at 10 Hz).
Now built once per tick into a Map-backed index and read from there.
Numbers, breakdown order, and entry detail are unchanged — pinned by
new equivalence tests across production, click power, requirement, gain,
buyable, wildcard fan-out, and the three challenge debuffs.
Pairs with an opt-in display.performance_mode toggle that halves the
tick rate (10 Hz → 5 Hz) and skips cosmetic animations (resource pulse,
code-scroll backdrop, click-pop floaters) for older hardware.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com