-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimization: Reduce amount of code under lock. (#11770)
This was showing in profiles when playing all-AI Imperialism 1974, which creates a lot of history nodes. With this optimization, I measured the time it takes to do 2 AI's turns on that map and saw around 10% total runtime improvement (~20s to ~19s).
- Loading branch information
Showing
1 changed file
with
28 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters