mirror of
https://github.com/golang/go
synced 2024-09-30 07:28:36 -06:00
isZero comment
This commit is contained in:
parent
4307fdf729
commit
43a752f05c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user