[ 
https://issues.apache.org/jira/browse/THRIFT-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Duxbury updated THRIFT-332:
---------------------------------

    Attachment: thrift-332.patch

Here's my first go at it. I ported the Ruby implementation more or less 
completely from the Java version. There's a pretty thorough spec included, too, 
which is also modeled on the Java compact protocol's test. 

This patch also includes some tiny changes to struct.rb designed to improve 
performance. I don't think those are critical changes, and I'm not that 
attached to them. They probably won't even really get executed on most 
platforms since we have the thrift_native extension in the mix.

I haven't yet benchmarked this implementation, but I fully expect it to be "too 
slow", and will probably end up writing a C extension for it.

Looking forward to comments from any Ruby folks out there.

> Compact Protocol in Ruby
> ------------------------
>
>                 Key: THRIFT-332
>                 URL: https://issues.apache.org/jira/browse/THRIFT-332
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: Library (Ruby)
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Trivial
>         Attachments: thrift-332.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to