You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ilya Maykov (JIRA)" <ji...@apache.org> on 2011/06/11 00:40:59 UTC

[jira] [Reopened] (THRIFT-418) Don't do runtime sorting of struct fields

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

Ilya Maykov reopened THRIFT-418:
--------------------------------


Reopening as I've thought about it and a patch which doesn't change the compiler or generated code ends up being much cleaner.

> Don't do runtime sorting of struct fields
> -----------------------------------------
>
>                 Key: THRIFT-418
>                 URL: https://issues.apache.org/jira/browse/THRIFT-418
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Ruby - Compiler, Ruby - Library
>    Affects Versions: 0.1
>            Reporter: Bryan Duxbury
>            Assignee: Ilya Maykov
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: THRIFT-418-avoid-runtime-sorting-of-struct-fields.patch
>
>
> Currently the ruby struct code sorts the field ids of each struct every time it is serialized, which is an unnecessary drag on performance. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira