in reply to Re^2: Alternatives To Geo::Distance
in thread Alternatives To Geo::Distance
Regarding your benchmark. First, I suspect you didn't "You can stick with the pure Perl version by setting the GEO_DISTANCE_PP environment variable before using this module" This is because Geo::Distance gave the correct answer which it I know it doesn't (the point of this thread).
$ENV{GEO_DISTANCE_PP} just triggers Geo::Distance::XS->unimport(), which my benchmark script calls directly. I also checked the results by hiding Geo::Distance::XS with Test-Without-Module and they were consistent. Note also the results for the 'gcd' formula- both Geo::Distance and GIS::Distance::Fast failed, whereas Geo::Distance::XS produced a reasonable result. Perhaps if you posted your test script we could dig further.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Alternatives To Geo::Distance
by Limbic~Region (Chancellor) on Oct 22, 2010 at 02:58 UTC | |
by tye (Sage) on Oct 22, 2010 at 04:52 UTC |