commit | 0bb034008cbbb9681863f009e8473d527f154a18 | [log] [tgz] |
---|---|---|
author | Bryan Duxbury <bryanduxbury@apache.org> | Fri Aug 13 00:13:16 2010 +0000 |
committer | Bryan Duxbury <bryanduxbury@apache.org> | Fri Aug 13 00:13:16 2010 +0000 |
tree | 5227ae950d38b2eb307d20a02641d452a0cf5883 | |
parent | f6b0e7cb38a751de5658808bfb8c6316e6f4babf [diff] |
THRIFT-831. java: FramedTransport implementation that reuses its buffers This patch adds a TFastFramedTransport that is compatible with TFramedTransport, but makes use of a pair of internal, automatically-expanding buffers to avoid unnecessary reallocations. This makes interactions with the transport up to 2.5x faster. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@985049 13f79535-47bb-0310-9956-ffa450edef68