윤정민 dc87cda0c3 Share per-date game cache across dailyArchive users (R1)
judgeDay and hasMissedGameDayBetween re-ran the same listByDate query for
every user in an archive run (U× amplification for the archived date plus
its look-back window). Introduce a memoizing GameDayCache and thread one
instance through the whole runDailyArchive pass so each distinct date is
read from Firestore once. Off-day detection is naturally memoized via the
cached query results. Standalone callers (statsService) keep their prior
behavior via a per-call default cache. No change to judgment results.
2026-05-28 17:20:50 +09:00
2026-04-13 09:18:34 +09:00
2026-04-13 09:18:34 +09:00
2026-04-02 09:00:10 +09:00
2026-04-02 09:00:10 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:30 +09:00
2026-04-02 09:00:10 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:34 +09:00
2026-04-13 09:18:34 +09:00
2026-04-02 09:00:10 +09:00
2026-04-02 09:00:10 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:34 +09:00
Description
No description provided
920 KiB
Languages
TypeScript 85.5%
HTML 14.5%