I'm developing an iOS application where I need to track the distance walked by the user real-time and alter data accordingly.
Essentially what I'm doing is, as soon as the user makes a move, I check the distance between the original and current positions and react accordingly (using CLLocation's DistanceFrom method).
Are there performance implications of using DistanceFrom repeatedly that I should be prematurely worried about?
Edit: Forgot to mention, I'm using Xamarin.iOS (aka MonoTouch)
I have a feeling that CLLocation's DistanceFrom method just uses the haversine method under the hood. So wont have a huge effect on performance.
I have used this before and not noticed much in the way of performance. Bit more info on the implementation.