On 4/21/21 8:13 PM, Assaf Gordon wrote: > I'm attaching the patch (copied from the Github's pull-request), > hopefully we can continue the discussion here on the mailing list.
Phew, so I see it's about getting 0-5x better performance versus decreased maintainability due having yet another implementation of the counting in wc: we already have different cases for multi-byte, for !count_chars etc. I'm not sure whether it's worth complicating the tool, and - as Rasmus mentioned - the bottleneck is probably somewhere else. Have a nice day, Berny