commit | 72fd0b415f7fe4f84988b52346b380f17b528c90 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Oct 06 17:09:47 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Oct 06 17:09:47 2010 +0000 |
tree | 237529b51ee0f6a66d94d6694785f2881c8cbf09 | |
parent | ea051ca793bfe68b554d4dd39b48cc237cae53d9 [diff] |
THRIFT-922. cpp: Add shortcutted version of readAll() in TBufferBase Just perform a memcpy() if all of the requested data is available in the buffer. This improves performance a little in the common case. It has a bigger impact with the upcoming template changes. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005133 13f79535-47bb-0310-9956-ffa450edef68