http://mat.i2p/internet-roadtrip-pathfinder
Latitude lines are always evenly spaced apart ( EARTH_ RADIUS * (PI / 180) per degree), and the spacing of longitude lines depends on the latitude ( EARTH_ RADIUS * (PI / 180) * lat_ rad. cos() ). Then, I could multiply the result by 0. 999 and 1. 001 to get an underestimate and overestimate. Low-level optimizations Many of my optimizations involve boring things like performing operations in a different order, forcing the compiler to inline random hot functions, and removing code that...