HHH-13496 Map sizing optimisations
This commit is contained in:
parent
3b0d7d67b1
commit
0cccf74478
|
@ -111,7 +111,7 @@ public final class CollectionHelper {
|
|||
return Collections.emptyMap();
|
||||
}
|
||||
|
||||
final Map<K, V> map = new HashMap<>();
|
||||
final Map<K, V> map = new HashMap<>( determineProperSizing( collection.size() ));
|
||||
|
||||
for ( E element : collection ) {
|
||||
map.put(
|
||||
|
|
Loading…
Reference in New Issue