News for hackers. Stuff that matters.
Re:Beating C with one line of Brainfuck by kiwec on Monday November 25, 2019 @02:11AM (#21626073)
For some reason, wc is even slower with LANG=C.

    cat words.txt | time wc -w
    13018291
    0.76 user 0.01 system 0:00.78 elapsed
That's on the default wc build of void linux, and not in a proper benchmark environment, but that's still strange.
Re:Beating C with one line of Brainfuck by labawi on Monday November 25, 2019 @04:25AM (#21626609)
I prefer setting LC_ALL=C for to be sure, though LANG may be sufficient, as running "LANG=C locale" confirms LC_CTYPE=C is set.