[patch] presize arraylists where possible
-----------------------------------------

                 Key: CASSANDRA-3949
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3949
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Dave Brosius
            Priority: Trivial
         Attachments: size_arraylists.diff

many places the size of an ArrayList is easily predetermined, in those cases 
pre size them as appropriate, to avoid reallocations.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to