Files
magpie/internal/gui
yetone 9f7728284b gui: the warm-up reads both ranges' stats in one pass
warmSteps read every day's stats, then 30 days', each its own
StatsAndNativeAll: two listings of every session file, two
groupings by key, Claude Code's copies and branches found twice.
With a real account's history that was 196 MB of the 734 MB magpie
allocated in its first minute. warmStats reads the ranges not kept
yet in one pass and keeps each as statsForGen would.

Test: TestWarmUpReadsTheStatsInOnePass counts the passes. With
warmStats reading each range through statsFor, as the warm-up did,
it is red with two passes.
2026-11-11 14:43:25 +08:00
..
…
…
…
…