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
This commit is contained in:
Bohica 2025-07-26 15:53:06 -07:00 committed by GitHub
parent 6938735113
commit d6bb8316d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 253 additions and 308 deletions

View file

@ -1,4 +1,4 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "0.15.0"
"version": "0.15.1"
}