[MLton-user] timing anomoly

Sean McLaughlin seanmcl at gmail.com
Mon Dec 3 11:07:38 PST 2007


Hi,

  I found some very strange behavior of mlton while running some
floating point experiments.
The attached file evaluates some polynomials and returns them.  If you
multiply a value by a
single argument, it multiplies by 10 the performance time of the
entire function.  I'd very much
like to have this kind of code run fast.  When the line is commented,
it runs faster than
C++ (hurray!).  When uncommented, 10X slower :(

Best,

Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timing.sml
Type: application/smil
Size: 2548 bytes
Desc: not available
Url : http://mlton.org/pipermail/mlton-user/attachments/20071203/e34c5f6c/timing.smi


More information about the MLton-user mailing list