Show HN: Xzgrep is twice as fast with dash versus bash In the CentOS world, a shell script written by "Charles Levert" has been extended as the compressed grep for (gzip/bzip2/xz) as /bin/(zgrep/bzgrep/xzgrep); variants of this script are bundled in their respective packages. The dash shell, available in EPEL for CentOS, appears to specifically speed up xzgrep considerably when altered from #!/bin/sh to #!/bin/dash. In my testing on a 32-bit platform under xargs, a search of 14k files of 20M total size runs in half the time. Do others see this performance increase? Is this another tangible benefit for Debian/Ubuntu moving the system shell from bash to their Almquist shell derivative? October 18, 2022 at 12:12AM
Show HN: Advent of Code 2022 (only first eight in different langs) Tried/revisited/used: Elixir, Haskell, Python, Rust, JS, Rust-WASM, TypeScript, Java. With READMEs for each https://ift.tt/aOFVhBo December 31, 2022 at 04:36AM
Comments