Hacker News new | ask | show | jobs
by Macha 394 days ago
If you compile your variant with -O3 I imagine it will be much faster? Iirc, the default is for GCC is to not optimise
1 comments

No, it will be about the same. The algorithm is wrong (calling write repeatedly) and -O3 isn't sufficient to rewrite that.