Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4c56c2c
)
Rip out MemoryBuffer#get_buffer
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:10:43 +0000
(
01:10
+0000)
committer
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:10:43 +0000
(
01:10
+0000)
Nobody should be using that method and it's preventing MemoryBuffer from being optimized wrt. memory usage
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668966
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/lib/thrift/transport.rb
patch
|
blob
|
history
diff --git
a/lib/rb/lib/thrift/transport.rb
b/lib/rb/lib/thrift/transport.rb
index
57706ec
..
684e838
100644
(file)
--- a/
lib/rb/lib/thrift/transport.rb
+++ b/
lib/rb/lib/thrift/transport.rb
@@
-231,10
+231,6
@@
module Thrift
return @rpos < @wpos
end
- def get_buffer
- return @buf
- end
-
def reset_buffer(new_buf = '')
@buf = new_buf
@sz = new_buf.length