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
             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.

Reply via email to