1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-16 18:21:01 +00:00
Commit graph

1 commit

Author SHA1 Message Date
polyphemus
f06d9fe130 Rewrite cut_bytes(), more performant than GNU
Creates BufReader in buffer.rs. BufReader uses a stack allocated buffer
to read into and returns selected slices into the buffer. This does away
with any dynamic allocations in the 'newline loop.

1.5 to 2.5 more performant than previous version.
1.5 to 2.0 times more performant than GNU.
2014-07-09 12:17:48 +02:00