3 ms·
> Just like Chris Penner’s original article, I’m comparing against the OSX version of wc that shipped with my machine. Just like in the original article, I admi
by tom_mellior 7y ago
> Just like Chris Penner’s original article, I’m comparing against the OSX version of wc that shipped with my machine. Just like in the original article, I admit that there are likely faster versions of wc–I’m just comparing what I got.
Could someone on OSX post a benchmark of their system wc vs. one compiled manually from source using gcc or clang with -O3?
Last time around I did this for Ubuntu and found a 2x difference: https://news.ycombinator.com/item?id=21271951 https://news.ycombinator.com/item?id=21271951
So if this article ends up beating their system wc by 2x, that might not say anything about "beating C".