OpenTripPlanner/utils
Vincent Paturet e7009697cc Use optimal initial capacity for HashMap, HashSet, and ArrayList
Replace new HashMap<>(n) / new HashSet<>(n) with the Java 19+ factory
methods HashMap.newHashMap(n) / HashSet.newHashSet(n) which correctly
account for the 0.75 load factor. Also pre-size ArrayLists and HashMaps
where the element count is known at construction time.
2026-03-04 08:16:38 +01:00
..
src Use optimal initial capacity for HashMap, HashSet, and ArrayList 2026-03-04 08:16:38 +01:00
pom.xml refactor: Reorganize prettier Maven plugin to prevent double execution 2025-12-04 14:17:08 +01:00