You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "fishy (via GitHub)" <gi...@apache.org> on 2024/04/29 22:22:28 UTC
[PR] go: Define a bytePool for TRichTransport [thrift]
fishy opened a new pull request, #2969:
URL: https://github.com/apache/thrift/pull/2969
Client: go
TBinaryProtocol and TCompactProtocol (and as an extension, THeaderProtocol), uses TRichTransport's ReadByte/WriteByte functions a lot under the hood, and in some extreme cases those ReadByte/WriteByte calls can generate a lot of allocation syscalls for the byte they used.
Use a resource pool to help reduce the allocations.
--
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: dev-unsubscribe@thrift.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] go: Define a bytePool for TRichTransport [thrift]
Posted by "fishy (via GitHub)" <gi...@apache.org>.
fishy merged PR #2969:
URL: https://github.com/apache/thrift/pull/2969
--
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: dev-unsubscribe@thrift.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org