[
https://issues.apache.org/jira/browse/THRIFT-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13181991#comment-13181991
]
Kenjiro Fukumitsu commented on THRIFT-1485:
-------------------------------------------
Patch works great. +1.
> 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