[Mratc-developers] Compute time for Vincenty equations
Status: Pre-Alpha
Brought to you by:
htbps
|
From: Michael R. <ht...@us...> - 2004-09-06 02:30:45
|
I coded Inverse Vincenty equations in both C and Perl to compare. Our system is going to be spending a lot of time on these equations, so we probably want to optimize around them. The C version could do 35328 Inverse Vincentys per second. Perl could do 5091 Inverse Vincentys per second. Going by that, C is seven times faster than Perl in Inverse Vincentys--a performance improvement worth taking advantage of. Perl was more cooperative than C during coding. However, to realize the performance improvements, it is worth taking a little beating during coding. Let me try and attach the C and Perl source files, see if they go through. --Mike |