Re:Beating C with 70 lines of Go
by ajeetdsouza on Wednesday November 20, 2019 @03:09PM
(#21587936)
This is not true, see my comment here: https://news.ycombinator.com/edit?id=21587907
[ Parent
| on HN ]
Take the Darwin version linked from your site. Run perf record wc thefile.txt. Then run perf report and you will see iswspace in the call graph.
As I show in [1], removing this call and replacing it by a character match, gives a speedup of almost 2x.