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

Commits on Jul 12, 2023

  1. Optimization: Reduce amount of code under lock.

    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 committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    b515056 View commit details
    Browse the repository at this point in the history