mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 02:23:47 +00:00
ccd1046d67
Use futures to spawn several threads that concurrently work through the active range queries each turn instead of doing everything serially on the main thread -- similar to how the pathfinder computes pathfinding requests asynchronously. This significantly increases performance. Note: It still can't run in parallel to the rest of the simulation update since the range computations depend on the state of the simulation (like the position of units).