3 ms·
One of the advantages to implementing these types of problems in C++ is you can use compile-time optimizations, often resulting in 2-3x speed-up. The results m
by kyt 15y ago
One of the advantages to implementing these types of problems in C++ is you can use compile-time optimizations, often resulting in 2-3x speed-up.
The results may be a lot different when compiling with just -O2 -ffast-math.