mirror of
https://github.com/golang/go
synced 2024-11-22 19:54:39 -07:00
undo2
This commit is contained in:
parent
802b6f9da6
commit
7225ca3f7b
@ -1656,7 +1656,7 @@ func (v Value) IsZero() bool {
|
||||
}
|
||||
|
||||
// isZero For all zeros, performance is not as good as
|
||||
// returning bytealg.Count(b, byte(0)) == len(b).
|
||||
// return bytealg.Count(b, byte(0)) == len(b)
|
||||
func isZero(b []byte) bool {
|
||||
if len(b) == 0 {
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user