Actions
Feature #2439
openCache pathfinding results between calls
Start date:
11/02/2026
Due date:
% Done:
0%
Estimated time:
Description
Currently, pathfinding is not reused between calls. This is particularly inefficient in late-game big maps, e.g. Europe around T250,
where assess_danger()'s pathfinding can take 1m/turn.
This patch adds a generation counter, allowing pathfinding caching, which will be used in the next tickets; on my saves, the combination reduces time taken by about 90%.
Files
Updated by Sweet Tea Dorminy 1 day ago
- File 0001-common-Add-world-and-per-player-knowledge-generation.patch 0001-common-Add-world-and-per-player-knowledge-generation.patch added
A proposed patch.
Actions