5 ms·
I also wonder why your java benchmark is slow. Java seems to be around 2-3x slower than C on average, this would make your optimized CL to be around 1.5x faste
by catch23 17y ago
I also wonder why your java benchmark is slow. Java seems to be around 2-3x slower than C on average, this would make your optimized CL to be around 1.5x faster than C.
- mahmud 17y agoDefine "slower". Languages don't have a fixed "speed" relation between them. Performance varies between machine, language, problem, and implementation technique.
- igouy 17y agoIs any of that so remarkable that we should presume catch23 doesn't know? A charitable response would help catch23 understand what's different about this one problem from what we can sensibly presume as common experience - not Sun Java, JVM trig functions.