Details
-
Task
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
0.13.0
-
None
Description
Currently go's default NewTSerializer and NewTDeserializer implementations use NewTBinaryProtocolFactoryDefault().GetProtocol(transport) to get the protocol. This is essentially the same as NewTBinaryProtocolTransport(transport), but with an extra allocation of the ProtocolFactory that is only used once then discarded. Streamline it will give as a minor performance gain.
Also I plan to add new constructors for TSerializerPool and TDeserializerPool to make it easier to use with non-default protocols.
Attachments
Issue Links
- links to