[PATCH] D61178: caseFoldingDjbHash: simplify and make the US-ASCII fast path faster
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 26 03:53:23 PDT 2019
MaskRay added a comment.
if (Optional<uint32_t> Result = fastCaseFoldingDjbHash(Buffer, H))
return *Result;
doesn't have a negative performance impact. Switched to that form.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61178/new/
https://reviews.llvm.org/D61178
More information about the llvm-commits
mailing list