Benchmarking the cost of primitive operations on the JVM
(when are floating point operations faster than integer ones?)
I was listening to the interview with Andrei Alexandrescu - of C++ and D-lang fame (cheers homie! :-)) on CppCast when I heard something interesting: float divisions are supposed to be faster than integer ones on modern CPUs! So I had to dig ...
more ...