Optimized thrift bindings for ruby