McRogueFace/tests
John McCardle 7d57ce2608 feat: Implement SpatialHash for O(1) entity spatial queries (closes #115)
Add SpatialHash class for efficient spatial queries on entities:
- New SpatialHash.h/cpp with bucket-based spatial hashing
- Grid.entities_in_radius(x, y, radius) method for O(k) queries
- Automatic spatial hash updates on entity add/remove/move

Benchmark results at 2,000 entities:
- Single query: 16.2× faster (0.044ms → 0.003ms)
- N×N visibility: 104.8× faster (74ms → 1ms)

This enables efficient range queries for AI, visibility, and
collision detection without scanning all entities.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 00:44:07 -05:00
..
benchmarks feat: Implement SpatialHash for O(1) entity spatial queries (closes #115) 2025-12-28 00:44:07 -05:00
demo docs: Update grid demo and regenerate API docs 2025-12-02 09:21:43 -05:00
geometry_demo fix: Refine geometry demos for 1024x768 and fix animations 2025-11-26 04:54:13 -05:00
integration Squashed commit of the following: [alpha_presentable] 2025-07-15 21:30:49 -04:00
notes feat: Exit on first Python callback exception (closes #133) 2025-11-26 10:26:30 -05:00
regression feat: Migrate Grid to user-driven layer rendering (closes #150) 2025-11-28 23:04:09 -05:00
unit feat: Add consistent Scene API with module-level properties (closes #151) 2025-12-22 22:15:03 -05:00
vllm_demo feat: Add TurnOrchestrator for multi-turn LLM simulation (addresses #156) 2025-12-14 12:53:48 -05:00
run_tests.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00