Commit d937479
authored
perf: remove BufReader wrapper when copying spill files to shuffle output (#3861)
Remove the BufReader wrapper around spill file reads in
MultiPartitionShuffleRepartitioner::shuffle_write(). std::io::copy
already buffers internally, and wrapping in BufReader defeats the
copy_file_range/sendfile zero-copy specialization on Linux.1 parent 7878f0d commit d937479
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | | - | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
586 | 588 | | |
587 | 589 | | |
588 | 590 | | |
| |||
0 commit comments