[Shootout-list] Faster Ruby nbody benchmark

Brent Fulgham bfulg@pacbell.net
Mon, 21 Mar 2005 11:04:06 -0800 (PST)


--- Isaac Gouy <igouy2@yahoo.com> wrote:
> > The modification consists of unrolling the loops
> in
> > 4 methods in the Vector3D class which do vector
> math.
> 
> No, to manually unrolling loops!
> 
> (Doug Bagley explicitly stated that manually
> unrolling loops wasn't
> interesting, I guess we need to add the same
> exclusion.)

I've been adding these approaches as "interesting
alternatives", which I guess flies in the face of
Doug's statement ;-)

Manually unrolling loops == more LOC, so perhaps
we should allow them (or as 'interesting
alternatives' and let the LOC metric start to 
be taken into account?

-Brent