Carel created THRIFT-5817:
-----------------------------

             Summary: [C++] Avoid copy of TUuid
                 Key: THRIFT-5817
                 URL: https://issues.apache.org/jira/browse/THRIFT-5817
             Project: Thrift
          Issue Type: Bug
          Components: C glib - Compiler, C++ - Compiler
         Environment: C++ and C generator
            Reporter: Carel
            Assignee: Carel
             Fix For: 0.21.0


The current implementation of the TUuid type generates code that copies the 
TUuid type and does not use cont reference like other complex types, like 
std::string.

For consistency and performance the copy should be avoided and a const 
reference must be passed. 

See [this|https://github.com/apache/thrift/pull/3035#discussion_r1744537147] 
comment 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to