Repository navigation
Small pre-release cleanup - #155
Conversation
bric3
left a comment
There was a problem hiding this comment.
Good cleanup, and improvement, indeed I prefer assigning values after their "assembly" in the for loop.
Also, why not using as 0xF000 as literla value (pure nitpick).
Whereas Also note that Given the typical contents stored in a trie, we're more likely to have a few long jumps so the design deliberately tunes for that scenario. |
What Does This Do
Small pre-release cleanups:
InternalNamesconstruction with its lookup logic and assign the completed tables to final fields.4096for the trie long-jump table limit.Motivation
Reduce avoidable work and simplify internal code ahead of the release.
Additional Notes
Validation:
./gradlew check(tests on Java 8, 11, 17, 21, and 25, Spotless, and SpotBugs);git diff --check.Contributor Checklist