[ 
https://issues.apache.org/jira/browse/SOLR-14343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064850#comment-17064850
 ] 

ASF subversion and git services commented on SOLR-14343:
--------------------------------------------------------

Commit 5630619dfd18f43126028f0e12eba06c67970a91 in lucene-solr's branch 
refs/heads/master from Munendra S N
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=5630619 ]

SOLR-14343: set initcapacity properly in NamedList

* This is when map or map.entry array is passed in constructor


> Properly set initCapacity in NamedList
> --------------------------------------
>
>                 Key: SOLR-14343
>                 URL: https://issues.apache.org/jira/browse/SOLR-14343
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Munendra S N
>            Assignee: Munendra S N
>            Priority: Minor
>         Attachments: SOLR-14343.patch
>
>
> In {{NamedList(Map)}}, list is initialised to map.size() instead of 2 times 
> the size. There are other few instances where initial capacity can be 
> correctly set.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to