Grid Subgrid System #123

Open
opened 2025-07-12 19:09:13 +00:00 by john · 0 comments
Owner

Split large grids into 256x256 chunks for performance.

Note: The value of "256x256" is a "nice round baseless number" - performance tests with animated tile properties, entity field of view, pathfinding, both at game logic and rendering, are critical to deciding that value; it may even be appropriate to be tuneable at compile-time for powerusers of McRogueFace Engine.

Definition of Done:

  • Automatic chunking for grids larger than threshold
  • Transparent to API users
  • Improved render performance for large grids
  • Memory usage optimization

Wiki References:

Blocked by: Performance benchmarks needed to determine optimal chunk size

Split large grids into 256x256 chunks for performance. **Note:** The value of "256x256" is a "nice round baseless number" - performance tests with animated tile properties, entity field of view, pathfinding, both at game logic and rendering, are critical to deciding that value; it may even be appropriate to be tuneable at compile-time for powerusers of McRogueFace Engine. **Definition of Done:** - Automatic chunking for grids larger than threshold - Transparent to API users - Improved render performance for large grids - Memory usage optimization **Wiki References:** - [Grid System](https://gamedev.ffwf.net/gitea/john/McRogueFace/wiki/Grid-System) - [Grid Rendering Pipeline](https://gamedev.ffwf.net/gitea/john/McRogueFace/wiki/Grid-Rendering-Pipeline) - [Performance Optimization Workflow](https://gamedev.ffwf.net/gitea/john/McRogueFace/wiki/Performance-Optimization-Workflow) - [Proposal: Next-Gen Grid-Entity System](https://gamedev.ffwf.net/gitea/john/McRogueFace/wiki/Proposal-Next-Gen-Grid-Entity-System) (relates to grid architecture) **Blocked by:** Performance benchmarks needed to determine optimal chunk size
john added the
Major Feature
label 2025-07-12 19:09:13 +00:00
john added the
Refactoring & Cleanup
system:performance
workflow:blocked
labels 2025-10-26 00:44:39 +00:00
john added the
priority:tier1-active
system:grid
workflow:needs-documentation
labels 2025-10-26 00:48:53 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: john/McRogueFace#123
No description provided.