SolrPluginUtils#parseQueryStrings(SolrQueryRequest) - using LinkedList for the 
internal impl of return type List 
-----------------------------------------------------------------------------------------------------------------

                 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
         Attachments: SOLR-970.patch

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.

Reply via email to