[ https://issues.apache.org/jira/browse/GROOVY-9060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun resolved GROOVY-9060. -------------------------------- Resolution: Fixed Fixed by https://github.com/apache/groovy/commit/5c8f08633a320be8836a249d577a549fe5966b76 > Make the initial capacity of LinkedHashMap be power of 2 for better > performance > ------------------------------------------------------------------------------- > > Key: GROOVY-9060 > URL: https://issues.apache.org/jira/browse/GROOVY-9060 > Project: Groovy > Issue Type: Improvement > Reporter: Daniel Sun > Assignee: Daniel Sun > Priority: Major > Fix For: 3.0.0-beta-1 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > {\{LinkedHashMap}} is a subclass of \{{HashMap}}, so its initial capacity > should be power of 2 too. > SEE: > [https://stackoverflow.com/questions/8352378/why-does-hashmap-require-that-the-initial-capacity-be-a-power-of-two] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)