ModernUO/Projects/UOContent.Tests/Tests/Engines/Pathing
Kamron Batman c7aaf33de9
feat(pathfinding): .swb format v8 compact index (#3b) (#2471)
## Summary
Phase #3b (final roadmap item), stacked on #2470. Compacts the index trailer from 20 to 8 bytes/chunk.

Trammel: 19.2 MB → 17.9 MB. Roadmap total: 565 MB → 17.9 MB (−96.8%).

## Details
- Trailer stores `{ u32 packedKey = (ChunkX << 16) | ChunkY, u32 recordLength }` per chunk, in record write order; the file offset is dropped and reconstructed by cumulative recordLength from HeaderSize.
- No record reordering, no varint; fixed-stride, TryReadChunk unchanged.
- Also simplifies the accumulated `.swb` code comments across the stack.
- Format v8; v7 files rejected and re-baked once.

## Tests
v8 multi-chunk round-trip (cumulative offset reconstruction) + the v6/v7 suite; full pathfinding suite green; Release build clean.
2026-06-07 01:22:20 -07:00
..
BitmapAStarAlgorithmTests.cs feat(pathfinding): non-eager TryGetMask + second-touch promotion (#2451) 2026-06-06 13:11:53 -07:00
PathfindRecorderTests.cs feat(pathfinding): JSONL recorder + public bake helpers (#2449) 2026-05-06 13:06:28 -07:00
StepCacheFileTests.cs feat(pathfinding): non-eager TryGetMask + second-touch promotion (#2451) 2026-06-06 13:11:53 -07:00
StepCacheFileV6Tests.cs feat(pathfinding): .swb format v6 predictive-Z residuals (#2469) 2026-06-07 00:12:08 -07:00
StepCacheFileV7Tests.cs feat(pathfinding): .swb format v8 compact index (#3b) (#2471) 2026-06-07 01:22:20 -07:00
StepCacheFileV8Tests.cs feat(pathfinding): .swb format v8 compact index (#3b) (#2471) 2026-06-07 01:22:20 -07:00
StepCacheLifecycleTests.cs feat(pathfinding): non-eager TryGetMask + second-touch promotion (#2451) 2026-06-06 13:11:53 -07:00
StepCacheParityTests.cs feat(pathfinding): non-eager TryGetMask + second-touch promotion (#2451) 2026-06-06 13:11:53 -07:00
StepCacheStaticSurfaceParityTests.cs feat(pathfinding): non-eager TryGetMask + second-touch promotion (#2451) 2026-06-06 13:11:53 -07:00
StepProbeParityTests.cs feat: expand cache to nearly all mobiles + dynamic-obstacle pass (#2447) 2026-05-06 00:14:08 -07:00
StepProbeTests.cs feat: expand cache to nearly all mobiles + dynamic-obstacle pass (#2447) 2026-05-06 00:14:08 -07:00