Codebase list golang-github-vbauerster-mpb / db66c9d
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
33
44 var bytesPool = sync.Pool{
55 New: func() interface{} {
6 b := make([]byte, 0, 16)
6 b := make([]byte, 0, 32)
77 return &b
88 },
99 }