Hacker News new | ask | show | jobs
by Twirrim 827 days ago
For fun and frolics:

No flags: 1843ms

-march=native: 2183 ms

-O2: 423 ms

-O2 -march=native: 250 ms

-O3: 425 ms

-O3 -march=native: 255 ms

O3 doesn't seem to be helping in my case.

1 comments

They didn't use any optimization flags.
Yeah, I was just trying to show the difference. Doing it without optimisation flags is an utterly bewildering decision by the author.
Especially given the goal was increasing performance.