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 Fix For: 0.8 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira