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

Cleanup4 #2482

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

Cleanup4 #2482

wants to merge 30 commits into from

Conversation

Photon-GitHub
Copy link

@Photon-GitHub Photon-GitHub commented Jul 14, 2023

Another cleanup pull request :)

Main features:

  • Replaced a string equalsIgnoreCase chain with a switch lookup
  • Made some cache lookups faster by querying only once
  • Replaced the weird command init in the main class and removed its private enum
  • Faster RangeParser with BitSet (maybe a test for this might be a good idea?)
  • Replaced some manual mappings with streams
  • Use ImmutableSet for the report filter
  • Replace old BiFunction from pre-java 8 times with the new java equivalent.

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.

1 participant