Following recent changes switching from xxh64 to xxh32 for better
hashing performance. This particular instance may or may not have
noticeable performance difference, but this change makes us toward
removing xxHash64.
};
uint64_t Ret = 0;
for (DIL = DIL->getInlinedAt(); DIL; DIL = DIL->getInlinedAt()) {
- Ret = hashCombine(Ret, xxHash64(ArrayRef<uint8_t>(DIL->getLine())));
- Ret = hashCombine(Ret, xxHash64(DIL->getSubprogramLinkageName()));
+ Ret = hashCombine(Ret, xxh3_64bits(ArrayRef<uint8_t>(DIL->getLine())));
+ Ret = hashCombine(Ret, xxh3_64bits(DIL->getSubprogramLinkageName()));
}
return Ret;
}