cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3949) [patch] presize arraylists where possible
Date Thu, 23 Feb 2012 01:59:48 GMT
[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

        

Mime
View raw message