mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
erasure: avoid io.Copy in hotpaths to reduce allocation (#11213)
This commit is contained in:
@@ -186,7 +186,6 @@ func (p *parallelReader) Read(dst [][]byte) ([][]byte, error) {
|
||||
readerIndex++
|
||||
}
|
||||
wg.Wait()
|
||||
|
||||
if p.canDecode(newBuf) {
|
||||
p.offset += p.shardSize
|
||||
if healRequired != 0 {
|
||||
|
||||
Reference in New Issue
Block a user