On Tue, 16 Jun 2009 17:19:21 +0100
Mark Burton <ma...@ordern.com> wrote:

> In the example
> above, I would argue that taking the sqrt and division outside of the
> loop doesn't make the code harder to understand and may yield some
> speedup.

Well, a quick test showed a barely perceptible gain so may as well
leave the code as it is. 

Cheers,

Mark
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to