bgemmill opened a new pull request, #3230:
URL: https://github.com/apache/thrift/pull/3230

   <!-- Explain the changes in the pull request below: -->
     When processing a *lot* of thrift objects, clearing strings with calls out 
to the standard library (and strlen in particular) take up a non-trivial amount 
of processing power.
     
     These calls can be entirely eliminated with calls to std::string::clear(). 
     See Godbolt for a demonstration: https://godbolt.org/z/vxxM6c3vj
     
     This change is largely trivial, so I did not make a jira ticket. Please 
let me know if I should.


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

Reply via email to