Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
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 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.