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

Improve power report speed when culling by distance #6829

Merged
merged 4 commits into from
Jul 20, 2024

Conversation

Regisle
Copy link
Member

@Regisle Regisle commented Oct 18, 2023

built on #6828 (that should be merged first)

This creates a distance map to run the power calcs in order of distance, the extra time taken was less than 10 milliseconds and within margin of error

This is being put into draft as theres still a few things I would like to do with this, like use this to show progress on the power report, and to update the power report while its being run, as those seem within scope of this change

@Paliak Paliak added the enhancement New feature, calculation, or mod label Oct 27, 2023
@Regisle Regisle force-pushed the OrderedPowerCalc branch from 9da0aab to 72220df Compare July 20, 2024 04:35
@Regisle Regisle marked this pull request as ready for review July 20, 2024 04:35
@Wires77 Wires77 merged commit 9481c10 into PathOfBuildingCommunity:dev Jul 20, 2024
2 checks passed
@Wires77 Wires77 changed the title Ordered power calc (tree show node power) Improve power report speed when culling by distance Jul 20, 2024
@Regisle Regisle deleted the OrderedPowerCalc branch July 20, 2024 05:22
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.

3 participants