
16 Jun
2009
16 Jun
'09
4:31 p.m.
On Tue, 16 Jun 2009 17:19:21 +0100 Mark Burton <markb@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