On Sun, Sep 20, 2015 at 6:49 PM, Ted Unangst <t...@tedunangst.com> wrote: > /bin/sleep does a lot more work than you'd expect (just ktrace it). > > this is because it calls setlocale(). apparently so that isdigit() doesn't get > confused by wacky foreigners with funny numbers. > > there is another solution, given that the problem of identifying digits is not > particularly challenging. do it ourselves. > > cuts an entire banana boat of calls out of ktrace.
I think this is the wrong direction. We want better support for locales and UTF-8: if the current support is inefficient then we should be fixing that, not disabling it. Philip Guenther