3 ms·
Timing 500000 iterations F time 0.006025 I time 0.011848 Expected, right? First you called `coolsize_i(lrand48())` and then `coolsize_f(lrand48())`? In
by apjana 7y ago
Timing 500000 iterations
F time 0.006025
I time 0.011848
Expected, right? First you called `coolsize_i(lrand48())` and then `coolsize_f(lrand48())`? In your results F should be I and I should be F.
In all your tests the F version is slower, as per my expectation.