diff options
| author | The8472 <git@infinite-source.de> | 2020-09-06 22:47:58 +0200 |
|---|---|---|
| committer | The8472 <git@infinite-source.de> | 2020-11-13 19:45:38 +0100 |
| commit | cd3bddc044728e040d6a22c684f1b9f711566772 (patch) | |
| tree | a1ffbebe7d793b0244432ee6fb36bf8395c994a0 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 67a6059aa5dab924a09194d5490d43da518a40a5 (diff) | |
| download | rust-cd3bddc044728e040d6a22c684f1b9f711566772.tar.gz rust-cd3bddc044728e040d6a22c684f1b9f711566772.zip | |
prioritize sendfile over splice since it results in fewer context switches when sending to pipes
splice returns to userspace when the pipe is full, sendfile just blocks until it's done, this can achieve much higher throughput
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
