You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/03 13:12:00 UTC

[jira] [Updated] (THRIFT-1362) Once we've looked up the Scheme once, there's no need to look it up again

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

James E. King III updated THRIFT-1362:
--------------------------------------
    Fix Version/s:     (was: 1.0)

> Once we've looked up the Scheme once, there's no need to look it up again
> -------------------------------------------------------------------------
>
>                 Key: THRIFT-1362
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1362
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Compiler
>    Affects Versions: 0.8
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Minor
>
> The first object that has the TProtocol version of write() or read() called should do the lookup, but after that, the scheme is known. Let's generate some overloads to write() and read() that take, for instance, TTupleProtocol so that we don't have to bother with doing the map lookup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)