about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2020-09-06 22:47:58 +0200
committerThe8472 <git@infinite-source.de>2020-11-13 19:45:38 +0100
commitcd3bddc044728e040d6a22c684f1b9f711566772 (patch)
treea1ffbebe7d793b0244432ee6fb36bf8395c994a0 /library/std/src/sys/unix/stack_overflow.rs
parent67a6059aa5dab924a09194d5490d43da518a40a5 (diff)
downloadrust-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