mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 04:57:45 +00:00
cat: Improve performance on Linux (#1978)
* cat: Improve performance, especially on Linux * cat: Don't use io::copy for splice fallback On my MacBook Pro 2020, it is around 25% faster to not use io::copy. * cat: Only fall back to generic copy if first splice fails * cat: Don't double buffer stdout * cat: Don't use experimental or-pattern syntax * cat: Remove nix symbol use from non-Linux
This commit is contained in:
parent
2941dfd698
commit
7a947cfe46
3 changed files with 255 additions and 175 deletions
5
Cargo.lock
generated
5
Cargo.lock
generated
|
@ -1,5 +1,7 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "advapi32-sys"
|
||||
version = "0.2.0"
|
||||
|
@ -1581,7 +1583,8 @@ name = "uu_cat"
|
|||
version = "0.0.4"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"quick-error",
|
||||
"nix 0.20.0",
|
||||
"thiserror",
|
||||
"unix_socket",
|
||||
"uucore",
|
||||
"uucore_procs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue