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

Hudson commented on THRIFT-1485:
--------------------------------

Integrated in Thrift #376 (See [https://builds.apache.org/job/Thrift/376/])
    THRIFT-1485 Performance: pass large and/or refcounted arguments as "const"
Patch: Jens Geyer

roger : http://svn.apache.org/viewvc/?view=rev&rev=1228965
Files : 
* /thrift/trunk/compiler/cpp/src/generate/t_delphi_generator.cc
* /thrift/trunk/lib/delphi/src/Thrift.Collections.pas
* /thrift/trunk/lib/delphi/src/Thrift.Protocol.JSON.pas
* /thrift/trunk/lib/delphi/src/Thrift.Protocol.pas
* /thrift/trunk/lib/delphi/src/Thrift.Server.pas
* /thrift/trunk/lib/delphi/src/Thrift.Stream.pas
* /thrift/trunk/lib/delphi/src/Thrift.Transport.pas
* /thrift/trunk/lib/delphi/src/Thrift.pas
* /thrift/trunk/lib/delphi/test/TestClient.pas
* /thrift/trunk/lib/delphi/test/TestServer.pas

                
> Performance: pass large and/or refcounted arguments as "const"
> --------------------------------------------------------------
>
>                 Key: THRIFT-1485
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1485
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Delphi - Compiler, Delphi - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>              Labels: performance
>             Fix For: 0.9
>
>         Attachments: 
> THRIFT-1485_Performance_pass_large_and_or_refcounted_arguments_as_const.patch
>
>
> Input arguments to functions should be passed using const in the following 
> cases
> * the argument size exceeds the size of a pointer = 32 bit
> * the argument is an refcounted type, like interface pointers, or long string 
> types
> This patch adds the necessary changes to compiler, library and test code.

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

        

Reply via email to