优化代码

This commit is contained in:
刘祥超
2024-04-15 08:42:33 +08:00
parent 0789b3d0d5
commit 4bdd248f99
4 changed files with 10 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ func TestHash(t *testing.T) {
func BenchmarkHashString(b *testing.B) {
b.RunParallel(func(pb *testing.PB) {
for pb.Next() {
fnv.HashString("abcdefh")
_ = fnv.HashString("abcdefh")
}
})
}
}