[
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