Re:An overengineered solution to `sort | uniq -c` with 25x t...
by nasretdinov on Monday October 27, 2025 @03:25AM
(#45718235)
Note that by default sort command has a pretty low memory usage and spills to disk. You can improve the throughput quite a bit by increasing the allowed memory usage: --buffer-size=SIZE
[ Parent
| on HN ]
Re:An overengineered solution to `sort | uniq -c` with 25x t...
by noamteyssier on Tuesday October 28, 2025 @12:42PM
(#45735191)
I didn't know that - I've added in buffer size with a fairly large buffer to the benchmarks as well