strat-gameplay-webapp/frontend-sba/store
Cal Corum 646878c572 CLAUDE: Optimize play history sync to O(1) with setPlayHistory
Replaced O(n²) deduplication check per play with O(1) array replacement:
- Added setPlayHistory() for game_state_sync (replaces entire array)
- Simplified addPlayToHistory() for live play_resolved events (just push)

This separates sync operations (replace) from live events (append),
eliminating the need for deduplication checks during gameplay.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 12:41:50 -06:00
..
auth.ts CLAUDE: Frontend enhancements for auth and game display 2025-11-28 12:09:39 -06:00
CLAUDE.md CLAUDE: Update documentation across codebase 2025-11-28 12:10:10 -06:00
game.ts CLAUDE: Optimize play history sync to O(1) with setPlayHistory 2025-11-28 12:41:50 -06:00
ui.ts test: Skip unstable test suites 2025-11-22 20:18:33 -06:00