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

Minor performance gains for high frequency checks #57

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

PenguinMC
Copy link

@PenguinMC PenguinMC commented Jun 4, 2021

gains for high frequency checks

Exloki and others added 8 commits April 8, 2019 19:01
Signed-off-by: Jadon Fowler <j@jadon.io>
Signed-off-by: Jadon Fowler <j@jadon.io>
LinkedList#get is O(n)
ArrayList#get is O(1)
We were seeing a performance loss with getEntry so this should improve
things.

The resize amount was made larger so we're not doing it as often.

Signed-off-by: Jadon Fowler <j@jadon.io>
The previous attempt at this wasn't working.

Signed-off-by: Jadon Fowler <j@jadon.io>
Signed-off-by: Jadon Fowler <j@jadon.io>
just commenting it out for now

Signed-off-by: Jadon Fowler <j@jadon.io>
Signed-off-by: Jadon Fowler <j@jadon.io>
@Janmm14
Copy link

Janmm14 commented Jun 4, 2021

@myunco
Copy link

myunco commented Oct 26, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants