chore: better maphash test

This commit is contained in:
wwqgtxx
2025-11-03 15:34:46 +08:00
parent 421dc79aea
commit fd39c2a7fc
3 changed files with 7 additions and 1 deletions

View File

@@ -11,3 +11,5 @@ func Comparable[T comparable](seed Seed, v T) uint64 {
func WriteComparable[T comparable](h *Hash, x T) {
maphash.WriteComparable(h, x)
}
const testComparableAllocations = true