jeking3 commented on PR #3038: URL: https://github.com/apache/thrift/pull/3038#issuecomment-2371516255
The return value optimization to use a reference is probably a wash, since the value is going to sent through the protocol anyway. Maybe it provides a tiny memory savings. Avoiding a copy on the input is a performance improvement and that's the one I thought would be useful. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
