[Shootout-list] What people say about shootout
Isaac Gouy
igouy2@yahoo.com
Fri, 29 Apr 2005 16:07:04 -0700 (PDT)
--- Jon Harrop <jon@ffconsultancy.com> wrote:
> On Friday 29 April 2005 21:19, Dave wrote:
> > Let's see, right now harmonic, heapsort, mandelbrot, nbody, random
> > and takfp are all primarily floating point.
>
> I wouldn't call "heapsort" and "random" floating point. AFAIK,
> heapsort need not use any floating point as you can compare and
> shuffle bits. Even if heapsort is implemented using floating point,
> it is probably more memory bound than arithmetic bound. Random uses
> more integer arithmetic than floating point.
fwiw I'd be happy to let heapsort slink off to The Doug Bagley
> I just profiled the OCaml implementation of knucleotide and most of
> the time is spent in the GC and in the hash table, so not FP.
Excellent - that's what it should be doing.
> Could random be relegated to a "common code" section and not counted
> as a benchmark?
What's your concern?
> If nbody is to be kept then I really think we should factor out all
> of those magic numbers - it's really quite bad!
Why? Concern with LOCs?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com