Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: base/hash.cc

Issue 182253007: base::Hash: Minor improvements to documentation and testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a comment that this algorithm is also in Blink. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/hash.h ('k') | base/hash_unittest.cc » ('j') | base/hash_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/hash.cc
diff --git a/base/hash.cc b/base/hash.cc
index 9088dbd42a7cf70405f42c8e200cdf3bfcba9c8f..a7db64a919c87b03113b64bab7cf0b6c1ebacb95 100644
--- a/base/hash.cc
+++ b/base/hash.cc
@@ -6,6 +6,7 @@
// Definition in base/third_party/superfasthash/superfasthash.c. (Third-party
// code did not come with its own header file, so declaring the function here.)
+// Note: This algorithm is also in Blink under Source/wtf/StringHasher.h.
extern "C" uint32_t SuperFastHash(const char* data, int len);
namespace base {
« no previous file with comments | « base/hash.h ('k') | base/hash_unittest.cc » ('j') | base/hash_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698