Page MenuHomeWildfire Games

[WIP] Minor range manager optimisation
Needs ReviewPublic

Authored by wraitii on May 30 2023, 6:29 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

We are currently using set_difference, which is neat API-wise but not as efficient as we could be. This is a minor optimisation (<1%) I think, even on CombatDemoHuge, so it's somewhat debatable.

This was chat-gpted so I'd need to change the autos but I haven't bothered yet.

Test Plan

Compile, profile.

Diff Detail

Event Timeline

wraitii created this revision.May 30 2023, 6:29 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/8105/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/7014/display/redirect

wraitii published this revision for review.May 30 2023, 7:29 PM