[libc-commits] [PATCH] D136487: [libc.search] [PATCH 1/6] add wyhash as a header library

Schrodinger ZHU Yifan via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Oct 21 13:27:58 PDT 2022


SchrodingerZhu created this revision.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
SchrodingerZhu requested review of this revision.

According to SMhasher, wyhash is one of fastest 64-bit hash functions that
does not have primary quality issues. This hash function is added
inorder to support string hashing used in `hsearch` related functions.
The code is derived from the original wyhash code released under
the public domain.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136487

Files:
  libc/src/__support/CMakeLists.txt
  libc/src/__support/wyhash.h
  libc/test/src/__support/CMakeLists.txt
  libc/test/src/__support/wyhash_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136487.469744.patch
Type: text/x-patch
Size: 6628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221021/45ac82d4/attachment.bin>


More information about the libc-commits mailing list