0

Update dependencies

This commit is contained in:
eleksir
2024-07-24 22:46:24 +03:00
parent c572f16ac0
commit b8ffe727ee
83 changed files with 9432 additions and 4156 deletions

View File

@@ -33,7 +33,7 @@ import (
//
// See https://github.com/golang/go/issues/42739 for discussion.
// Sum64String computes the 64-bit xxHash digest of s.
// Sum64String computes the 64-bit xxHash digest of s with a zero seed.
// It may be faster than Sum64([]byte(s)) by avoiding a copy.
func Sum64String(s string) uint64 {
b := *(*[]byte)(unsafe.Pointer(&sliceHeader{s, len(s)}))