You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Dan Kinder (JIRA)" <ji...@apache.org> on 2009/05/21 01:15:45 UTC

[jira] Assigned: (THRIFT-511) Better performing hash method for generated structs

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

Dan Kinder reassigned THRIFT-511:
---------------------------------

    Assignee: Dan Kinder

> Better performing hash method for generated structs
> ---------------------------------------------------
>
>                 Key: THRIFT-511
>                 URL: https://issues.apache.org/jira/browse/THRIFT-511
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Library (Ruby)
>            Reporter: Bryan Duxbury
>            Assignee: Dan Kinder
>             Fix For: 0.2
>
>
> As discussed in THRIFT-231, ruby generated structs' hash code method just always returns zero. While this is semantically correct, it leads to hashes having O(n) performance instead of O(1), which is critical for some applications. 
> We can either take the approach that the Java library uses (optionally produce complex hash function), or just generate a good hash all the time.

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