[PATCH] D42740: Implement a case-folding version of DJB hash

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 02:52:26 PST 2018


labath updated this revision to Diff 133576.
labath added a comment.

Modify the code generator script to produce patterns suggested by joerg. This
will make the function return quickly for lower-valued characters, which are
probably more likely to appear in input.


Repository:
  rL LLVM

https://reviews.llvm.org/D42740

Files:
  include/llvm/Support/DJB.h
  include/llvm/Support/Unicode.h
  lib/Support/CMakeLists.txt
  lib/Support/DJB.cpp
  lib/Support/UnicodeCaseFold.cpp
  unittests/Support/CMakeLists.txt
  unittests/Support/DJBTest.cpp
  utils/unicode-case-fold.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42740.133576.patch
Type: text/x-patch
Size: 28932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180209/3ffd8d2b/attachment.bin>


More information about the llvm-commits mailing list