The use of pools.Copy avoids io.Copy's internal buffer allocation. This commit replaces io.Copy with pools.Copy to avoid the allocation of buffers in io.Copy. Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> |
||
|---|---|---|
| .. | ||
| attach.go | ||
| streams.go | ||
The use of pools.Copy avoids io.Copy's internal buffer allocation. This commit replaces io.Copy with pools.Copy to avoid the allocation of buffers in io.Copy. Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> |
||
|---|---|---|
| .. | ||
| attach.go | ||
| streams.go | ||