ModernUO/Projects/UOContent/Engines/Pathing
Bohica d6bb8316d0
feat: Refactors A* Movement to use PriorityQueue (#2244)
### Summary

* Replaces the node chain with a PriorityQueue.
* Performance difference is up to 3x faster.

### Benchmarks
```cs
| Method              | Mean     | Error     | StdDev    | Gen0   | Allocated |
|-------------------- |---------:|----------:|----------:|-------:|----------:|
| FastAStar_PQueue    | 2.112 us | 0.0186 us | 0.0165 us | 0.0038 |      64 B |
| FastAStar_NodeChain | 6.430 us | 0.0800 us | 0.1807 us |      - |      64 B |
```

### Video

https://github.com/user-attachments/assets/3edd2524-5146-4775-be45-3516f0b01c27
2025-07-26 15:53:06 -07:00
..
FastAStarAlgorithm.cs feat: Refactors A* Movement to use PriorityQueue (#2244) 2025-07-26 15:53:06 -07:00
Movement.cs fix: Consolidates and fixes movement/direction checks (#1861) 2024-07-06 12:41:45 -07:00
MovementPath.cs fix: Fixes missing methods. Adds more admin gump world building (#1675) 2024-02-10 20:31:25 -08:00
MoveResult.cs fix: Reverts to RunUO speeds, fixes direction glitching, adds movement speed interpolation (#1695) 2024-03-18 14:13:41 -07:00
PathAlgorithm.cs chore: Cleans up pattern checks. (#892) 2021-12-24 15:53:59 -08:00
PathFollower.cs fix: Consolidates and fixes movement/direction checks (#1861) 2024-07-06 12:41:45 -07:00