[MLton] MLton.IntInf

Brent Fulgham bfulg@pacbell.net
Thu, 28 Apr 2005 10:52:13 -0700 (PDT)


--- "Wesley W. Terpstra" <wesley@terpstra.ca> wrote:

> However, factoring one number on my 1.5GHz P4 took 3
> minutes with OCaml and 2 minutes with MLton. On the 
> 1.2GHz iBook it took 3 minutes with OCaml and 1
> minute with MLton! How weird is that?  Bear in mind,
> again, that the MLton version was not hand-optimized

> like the OCaml one.

Very interesting.

Could the 1.2 GHz powerbook be based on a G3 processor
that does not have Altivecing?  Maybe the G4 is
accidentally trying to vectorize the code somehow?

I've seen cases where the Altivec option can slow
down some code.

-Brent