We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ad60cf commit 90c2a01Copy full SHA for 90c2a01
1 file changed
include/maglev/util/hash.h
@@ -38,8 +38,8 @@ struct maglev_int_hash {
38
}
39
};
40
41
-// std::hash for integer got self, which may cause bad performance in maglev,
42
-// so use maglev_int_hash as default.
+// The std::hash for integers directly returns the input value itself, which
+// may cause bad performance in Maglev, so use maglev_int_hash as default.
43
template <typename T>
44
using def_hash_t = typename std::conditional<
45
std::is_integral<T>::value,
0 commit comments