[ 
https://issues.apache.org/jira/browse/THRIFT-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuxuan Wang closed THRIFT-5279.
-------------------------------
    Fix Version/s: 0.14.0
       Resolution: Fixed

> Cleanups/small optimizations for go's serializer/deserializer code
> ------------------------------------------------------------------
>
>                 Key: THRIFT-5279
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5279
>             Project: Thrift
>          Issue Type: Task
>          Components: Go - Library
>    Affects Versions: 0.13.0
>            Reporter: Yuxuan Wang
>            Assignee: Yuxuan Wang
>            Priority: Trivial
>             Fix For: 0.14.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to