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

Vigo/faster advance #3877

Merged
merged 3 commits into from
Oct 14, 2023
Merged

Vigo/faster advance #3877

merged 3 commits into from
Oct 14, 2023

Conversation

vigo2
Copy link
Contributor

@vigo2 vigo2 commented Oct 13, 2023

[core] Simulation.advance() now iterates over enabled units' auraTrackers, and caches their combined "minExpires" to skip iterating when there's nothing to do
[core] removed some needless method shadowing for Target, Character, and Pet
[core] added Stats.Invert() as a shortcut for Stats.Multiply(-1), and simplified most others

Test changes only happen because the order of advance() calls isn't the same as before. DPS changes are typically in the noise.

minimal test changes for different iteration order
- updated tests
- slight cleanups
@vigo2 vigo2 requested a review from jimmyt857 October 13, 2023 16:37
@vigo2 vigo2 merged commit 8aae262 into wowsims:master Oct 14, 2023
2 checks passed
@vigo2 vigo2 deleted the vigo/faster-advance branch October 29, 2023 09:17
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.

2 participants