You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (Updated) (JIRA)" <ji...@apache.org> on 2012/02/23 02:59:48 UTC
[jira] [Updated] (CASSANDRA-3949) [patch] presize arraylists where
possible
[ https://issues.apache.org/jira/browse/CASSANDRA-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated CASSANDRA-3949:
------------------------------------
Attachment: size_arraylists.diff
> [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