3 ms·
There is no source data. I just iterate through each latitude from -90 to 90 and each longitude from -180 to 180 in increments of 2.5 (for both the start and e
by smanek 17y ago
There is no source data.
I just iterate through each latitude from -90 to 90 and each longitude from -180 to 180 in increments of 2.5 (for both the start and end). Check out the source code for any of the 5 examples (included in the post).
If you'd like, post the code up somewhere and I'll be happy to run it on the same machine and post the results along with the rest.
- catch23 17y agoI 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.