From a58b0d7bdb69b461e608a32c262bfb310935b7f9 Mon Sep 17 00:00:00 2001 From: kayomn Date: Sat, 18 Feb 2023 23:49:31 +0000 Subject: [PATCH] Add disclaimer about path hash code --- source/core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/core.cpp b/source/core.cpp index 7a6f66d..88b1140 100644 --- a/source/core.cpp +++ b/source/core.cpp @@ -497,6 +497,8 @@ export namespace core { /** * Returns a hash code generated from the values in `bytes`. + * + * *Note:* the returned hash code is not guaranteed to be unique. */ constexpr usize hash(slice const & bytes) { usize hash_code = 5381;