THRIFT-1189. rb: Ruby deserializer speed improvements
authorBryan Duxbury <bryanduxbury@apache.org>
Tue, 28 Jun 2011 18:46:03 +0000 (18:46 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Tue, 28 Jun 2011 18:46:03 +0000 (18:46 +0000)
commitad0ad824d2fb8c68b77e4a8a982225cf879f878d
treeebc2723be52dc2a0f8c2e4f5b10bcbf0ab570812
parent82dc2e2e96807965ea6061c0da973b5313195608
THRIFT-1189. rb: Ruby deserializer speed improvements

This patch gives the Ruby deserialization stack a healthy performance boost.

Patch: Ilya Maykov

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1140780 13f79535-47bb-0310-9956-ffa450edef68
15 files changed:
lib/rb/Rakefile
lib/rb/ext/binary_protocol_accelerated.c
lib/rb/ext/compact_protocol.c
lib/rb/ext/constants.h
lib/rb/ext/memory_buffer.c
lib/rb/ext/thrift_native.c
lib/rb/lib/thrift/protocol/binary_protocol.rb
lib/rb/lib/thrift/protocol/compact_protocol.rb
lib/rb/lib/thrift/struct.rb
lib/rb/lib/thrift/struct_union.rb
lib/rb/lib/thrift/transport/base_transport.rb
lib/rb/lib/thrift/transport/buffered_transport.rb
lib/rb/lib/thrift/transport/framed_transport.rb
lib/rb/lib/thrift/transport/memory_buffer_transport.rb
lib/rb/spec/binary_protocol_spec.rb