Skip to content

Fix instances of incorrectly sized Maps and Sets - #2798

Merged
bbakerman merged 1 commit into
graphql-java:masterfrom
kilink:incorrectly-sized-map-and-set
Apr 17, 2022
Merged

Fix instances of incorrectly sized Maps and Sets#2798
bbakerman merged 1 commit into
graphql-java:masterfrom
kilink:incorrectly-sized-map-and-set

Conversation

@kilink

@kilink kilink commented Apr 16, 2022

Copy link
Copy Markdown
Contributor

Fix a few occurrences where a Map or Set was initialized with an initial capacity
value N, and then immediately filled with N items, which would always trigger
a resize.

@kilink
kilink force-pushed the incorrectly-sized-map-and-set branch from fc156c3 to 532e81f Compare April 16, 2022 18:29
Fix a few occurrences where a Map or Set was initialized with an initial capacity
value N, and then immediately filled with N items, which would always trigger
a resize.
@kilink
kilink force-pushed the incorrectly-sized-map-and-set branch from 532e81f to 0569b75 Compare April 16, 2022 18:31

@bbakerman bbakerman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@bbakerman bbakerman added this to the 19.0 milestone Apr 17, 2022
@bbakerman
bbakerman merged commit 9bf8487 into graphql-java:master Apr 17, 2022
@dondonz dondonz modified the milestones: 19.0, 18.1 May 3, 2022
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.

3 participants