Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization: Reduce amount of code under lock. #11770

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

asvitkine
Copy link
Contributor

@asvitkine asvitkine commented Jul 12, 2023

Change Summary & Additional Notes

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).

Release Note

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).
@asvitkine asvitkine merged commit 559f26c into triplea-game:master Jul 12, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant