Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7509bb3f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use android reinterpret hash for float as it is faster."

parents 183a5532 16b7ff73
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -46,8 +46,8 @@ android::hash_t hashDimension(const HashableDimensionKey& value) {
                                                             fieldValue.mValue.str_value)));
                break;
            case FLOAT: {
                float floatVal = fieldValue.mValue.float_value;
                hash = android::JenkinsHashMixBytes(hash, (uint8_t*)&floatVal, sizeof(float));
                hash = android::JenkinsHashMix(hash,
                                               android::hash_type(fieldValue.mValue.float_value));
                break;
            }
        }