Skip to content

Conversation

AzureAaron
Copy link
Collaborator

Fixes the least performant area of the mod!

@AzureAaron AzureAaron added the reviews needed This PR needs reviews label Oct 8, 2023
@AzureAaron AzureAaron linked an issue Oct 8, 2023 that may be closed by this pull request
kevinthegreat1
kevinthegreat1 previously approved these changes Oct 8, 2023
Copy link
Collaborator

@kevinthegreat1 kevinthegreat1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Would be nicer if there were some benchmarks.

@kevinthegreat1 kevinthegreat1 added the merge me please Pull requests that are ready to merge label Oct 8, 2023
@AzureAaron AzureAaron removed the reviews needed This PR needs reviews label Oct 9, 2023
@AzureAaron
Copy link
Collaborator Author

LGTM. Would be nicer if there were some benchmarks.

The performance issue was less the method itself and more of how it was used by other methods, more specifically ones that were called every frame. Some classes also iterated the scoreboard separately too so consolidating it saves the mod from doing the same things multiple times over for small things.

@LifeIsAParadox LifeIsAParadox merged commit 2315b90 into SkyblockerMod:master Oct 9, 2023
@AzureAaron AzureAaron removed the merge me please Pull requests that are ready to merge label Oct 10, 2023
@AzureAaron AzureAaron deleted the scoreboard-optimizations branch October 18, 2023 03:46
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.

Sidebar checker
3 participants