1
0
mirror of https://github.com/golang/go synced 2024-09-30 05:34:35 -06:00

isZero comment

This commit is contained in:
Jes Cok 2023-11-20 10:01:53 +08:00
parent 4307fdf729
commit 43a752f05c

View File

@ -1653,7 +1653,7 @@ func (v Value) IsZero() bool {
}
}
// For all zeros, performance is not as good as
// For all zeros, isZero's performance is not as good as
// returning bytealg.Count(b, byte(0)) == len(b).
func isZero(b []byte) bool {
if len(b) == 0 {