Had an old tool called `hist` to run `sort | uniq -c` years ago but thought up a high-perf impl for it today. Tried it out and found a 25x throughput over the coreutils version. Big takeaway - arena allocators, hashmaps, and serde work super well together. github.com/noamteyssier...

GitHub - noamteyssier/hist-rs: An efficient unique-line counter (25x over `sort | uniq -c`)An efficient unique-line counter (25x over `sort | uniq -c`) - noamteyssier/hist-rsgithub.com