decrease copy buffer
This commit is contained in:
@ -34,6 +34,15 @@ var (
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
size: 2048,
|
||||
pool: sync.Pool{
|
||||
New: func() any {
|
||||
b := make([]byte, 2048)
|
||||
return &b
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
size: 4096,
|
||||
pool: sync.Pool{
|
||||
|
Reference in New Issue
Block a user