[ 
https://issues.apache.org/jira/browse/THRIFT-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612487#comment-13612487
 ] 

Hudson commented on THRIFT-1855:
--------------------------------

Integrated in Thrift #633 (See [https://builds.apache.org/job/Thrift/633/])
    THRIFT-1855 deep-copy for collections of primitives should use 
copy-constructor (Revision 948a2d4fb8d37793974206e4c766df2b26520aba)

     Result = ABORTED
roger : 
https://git-wip-us.apache.org/repos/asf?p=thrift.git&a=commit&h=948a2d4fb8d37793974206e4c766df2b26520aba
Files : 
* compiler/cpp/src/generate/t_java_generator.cc

                
> 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
>            Assignee: 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

Reply via email to