7 ms·
That's what I figured - a lot of people who say "Java is as fast as C" aren't doing proper compiler optimizations on their C. I suspected that was true, but I
by fsk 11y ago
That's what I figured - a lot of people who say "Java is as fast as C" aren't doing proper compiler optimizations on their C. I suspected that was true, but I didn't spend the time on a proper test.
-O2 or -O3 does some neat stuff like unrolling loops and inlining functions
--fast_math is another one I use