[MLton-user] Performance issue with -const 'Exn.keepHistory true'

Nicolas Bertolotti nicolas.bertolotti at polyspace.com
Fri Nov 17 03:47:03 PST 2006


Hi,

 

We used to compile our code with MLton 20030716p1 with the option
'-exn-history true'.

 

It was very useful when we had to solve some minor robustness issues as it
was not too costly (we could use it on production code) and it gave us the
exact location of the exception and "handle" clauses.

 

I know the option (now -const 'Exn.keepHistory true') has been improved in
order to print a full call stack but the consequence is that it is now too
costly to be used in production code when compiling using MLton 20050712.

 

Is there a way to get the old behaviour using MLton 2005 ?

 

Thanks in advance

---------------------------------------------------------------------------
    Nicolas Bertolotti             |    PolySpace Technologies S.A.
     <http://www.polyspace.com/> http://www.polyspace.com       |    28, rue
Estienne d'Orves
    Phone: +33 (0)1 49 65 32 66    |    92120 Montrouge
                                   |    Std phone: +33 (0)1 49 65 32 60

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mlton.org/pipermail/mlton-user/attachments/20061117/286fe258/attachment.htm


More information about the MLton-user mailing list