You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2009/01/07 17:04:44 UTC

[jira] Resolved: (THRIFT-189) Speed up Ruby struct constructors some more

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

Bryan Duxbury resolved THRIFT-189.
----------------------------------

    Resolution: Invalid

Yes, I think it makes sense to pursue the generated approach more deeply.

> Speed up Ruby struct constructors some more
> -------------------------------------------
>
>                 Key: THRIFT-189
>                 URL: https://issues.apache.org/jira/browse/THRIFT-189
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Ruby), Library (Ruby)
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Trivial
>         Attachments: thrift-189.patch
>
>
> Right now, we depend on runtime calculation of a few mappings - default values and field names to ids. This is an improvement over how it used to work, but still slow, because of the creation time and access pattern of these mappings. The mappings should clearly be an output of the code generation phase, and would allow us to greatly simplify how we access the values. 

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