commit | ea051ca793bfe68b554d4dd39b48cc237cae53d9 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Oct 06 17:09:46 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Oct 06 17:09:46 2010 +0000 |
tree | 935c83bc5f0d33dac87466a281bfeb9bfd38ae9a | |
parent | c6b4cab89c6da0272914a07b1f01491031df524f [diff] |
THRIFT-922. cpp: When reading strings, borrow first Attempt to get a pointer to the internal transport buffer before copying onto the heap. This improves performance TFramedTransport and TMemoryBuffer, and with TBufferedTransport if the string fits within the buffer. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005132 13f79535-47bb-0310-9956-ffa450edef68