[
https://issues.apache.org/jira/browse/THRIFT-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vitali Lovich updated THRIFT-1855:
----------------------------------
Attachment: 0001-more-efficient-deep-copy-of-lists-maps.patch
> deep-copy for collections of primitives should use copy-constructor
> -------------------------------------------------------------------
>
> Key: THRIFT-1855
> URL: https://issues.apache.org/jira/browse/THRIFT-1855
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler
> Reporter: Vitali Lovich
> Attachments: 0001-more-efficient-deep-copy-of-lists-maps.patch
>
>
> Instead of doing a manual element-wise copy, simply invoke the
> copy-constructor on the collection. Additionally, if possible (i.e. not a
> sorted collection), provide a hint of the capacity when doing an element-wise
> copy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira