Skip to content

Cleanup4 #2482

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant