Files
sbox-public/engine/Sandbox.Engine/Scene/GameObjectSystems/NavMeshAgentSystem.cs
Lorenz Junglas 5f088c419e Avoid per-frame KeyValuePair[] allocations in Parallel.ForEach (#4128)
Parallel.ForEach(IEnumerable<T>) allocates KeyValuePair<long, T>[] chunks
internally for work distribution. Passing a List<T> avoids this entirely.
2026-02-23 17:52:20 +01:00

3.0 KiB