[ 
https://issues.apache.org/jira/browse/GROOVY-9060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King closed GROOVY-9060.
-----------------------------

> 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 40m
>  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)

Reply via email to