[ https://issues.apache.org/jira/browse/SOLR-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kay Kay updated SOLR-970: ------------------------- Summary: SolrPluginUtils#parseQueryStrings(SolrQueryRequest) - replacing LinkedList with ArrayList for the internal impl of return type (was: SolrPluginUtils#parseQueryStrings(SolrQueryRequest) - using LinkedList for the internal impl of return type List ) > SolrPluginUtils#parseQueryStrings(SolrQueryRequest) - replacing LinkedList > with ArrayList for the internal impl of return type > ------------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-970 > URL: https://issues.apache.org/jira/browse/SOLR-970 > Project: Solr > Issue Type: Improvement > Environment: Java 6, Tomcat 6 > Reporter: Kay Kay > Priority: Minor > Fix For: 1.4 > > Attachments: SOLR-970.patch > > Original Estimate: 0.08h > Remaining Estimate: 0.08h > > Is there a specific reason to use LinkedList for the internal implementation > of List<?> . > ArrayList provides a better locality of reference than a LinkedList . > Addition at the end of the list ( the default behavior of .add() ) is > expensive for LinkedList again. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.