{"version":"2.1.221","anchor":"stats-panel-rewritten-as-a-compiler-memoized-component","canonical_anchor":"stats-panel-rewritten-as-a-compiler-memoized-component","heading":"Stats panel rewritten as a compiler-memoized component","tier":"internal","area":"Usage & Limits","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221\/e\/stats-panel-rewritten-as-a-compiler-memoized-component","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221","markdown":"### Stats panel rewritten as a compiler-memoized component\n\nThe stats panel was rebuilt for faster redraws; one hidden 'Shot distribution' block still can never appear.\n\n**What**\n\nThe interactive stats panel was rebuilt into React-Compiler output, with no change to what it renders apart from the new cache-token line.\n\n**Details**\n\n- Covers the view rendering \"Favorite model:\", \"Total tokens:\", \"Longest streak:\" and \"Current streak:\".\n- Uses a 102-slot memo cache, with each sub-element cached and recomputed only when its inputs change.\n- The dead \"Shot distribution\" block survives the rewrite but its condition is a literal `null`, so it can never render.\n\n**Evidence**\n\n`Shot distribution`\n\n- Area: Usage & Limits\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 0\/5"}