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

Split calc defence and only run ehp calcs on first pass of full dps #5773

Conversation

Regisle
Copy link
Member

@Regisle Regisle commented Mar 20, 2023

Minor speed improvement with full dps, but skipping EHP/maxhit calcs where unnecessary
This results in around a 2% speedup per skill in fulldps after the first, a similar thing could be done for minions
(eg with 5 skills total you get around an 8-9% speedup doing something like node power or item sorting)

@QuickStick123 QuickStick123 added the enhancement New feature, calculation, or mod label Mar 21, 2023
@Regisle Regisle force-pushed the speedupFullDPSAndCalcDefence branch from 21f2f1b to d3f17c8 Compare April 3, 2023 00:03
@Nostrademous
Copy link
Contributor

LGTM

@LocalIdentity LocalIdentity merged commit 5f9c384 into PathOfBuildingCommunity:dev Apr 5, 2023
2 checks passed
@Regisle Regisle deleted the speedupFullDPSAndCalcDefence branch April 5, 2023 12:39
Dullson pushed a commit to Dullson/PathOfBuilding that referenced this pull request Dec 6, 2023
…athOfBuildingCommunity#5773)

* split calc defence and only run ehp calcs on first pass of full dps

* fix whitespace

* increment skill count only if the skill is enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, calculation, or mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants