assert with constants where possible by kilink · Pull Request #4153 · graphql-java/graphql-java
Lots of places were asserting with a supplier of a constant String; switch to just using the assert methods that take the constant String directly. While the lambdas were cached / inlined, we can avoid even the small overhead of the lambda existing and needing the JIT to inline.
kilink
deleted the
assert-constant-string
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters