[ https://issues.apache.org/jira/browse/SOLR-14343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064858#comment-17064858 ]
ASF subversion and git services commented on SOLR-14343: -------------------------------------------------------- Commit bc45ce20eac495e333adb890a80b2a9b1445379c in lucene-solr's branch refs/heads/branch_8x from Munendra S N [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=bc45ce2 ] 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