uucore: splice fast-path for head -c & preliminary for dd, tail, split#11844
uucore: splice fast-path for head -c & preliminary for dd, tail, split#11844cakebaker merged 3 commits intouutils:mainfrom
Conversation
778ff1a to
08af0e0
Compare
|
GNU testsuite comparison: |
This comment was marked as resolved.
This comment was marked as resolved.
a70c6cf to
eff6fd9
Compare
This comment was marked as resolved.
This comment was marked as resolved.
4927a50 to
5139f43
Compare
5303748 to
c95b777
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I removed the original comment as the selected region was incorrect. |
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
for more information, see https://pre-commit.ci
|
Thanks! |
I'm not sure how to utilize it at general scripting. |
|
(Also I'm waiting #11458) |
|
FYI, I considered using splice for pipes in |
|
Yes dd is a low level tool, with operation specified by POSIX. You could have a splice option on iflag and oflag I suppose |
|
How about block size = pipe size? |
|
As an enduser, I'd like to make
is not a problem. I will try to use splice by default if it passes all existing GnuTests (and add missing test cases for posix requirement). |
Closes #11843 Closes #11620 Fixes #11777
This should help achieving same perf with
at 3 utils in the future.