[PATCH] D32509: Replace HashString algorithm with xxHash64

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 15:49:17 PDT 2017


ruiu added inline comments.


================
Comment at: include/llvm/ADT/StringExtras.h:128
+/// avalanching, so we wouldn't gain much if anything.
+static inline unsigned HashString(StringRef Str, unsigned Result = 0)
+{
----------------
Rename Result Seed.


Repository:
  rL LLVM

https://reviews.llvm.org/D32509





More information about the llvm-commits mailing list