bytesPool cap 32
Vladimir Bauer
3 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
decor/pool.go
less
more
3
3
4
4
var bytesPool = sync.Pool{
5
5
New: func() interface{} {
6
b := make([]byte, 0, 16)
6
b := make([]byte, 0, 32)
7
7
return &b
8
8
},
9
9
}