Fix sizing of some maps and collections by kilink · Pull Request #4148 · graphql-java/graphql-java

@kilink

Address a few places where maps and sets were pre-sized incorrectly by supplying
a capacity without regard to the load factor. Use the Guava helpers that take load
factor into account.

Additionally pre-size some collections in places where it's straightforward.

bbakerman

approved these changes Oct 23, 2025

@kilink kilink deleted the map-set-sizing branch

October 24, 2025 00:55