[MLton-devel] Effect of -exn-history true on performance

Stephen Weeks MLton@mlton.org
Sun, 25 Aug 2002 07:56:57 -0700


> Can -exn-history true possibly have an effect on performance ?

Yes.  It can cause a significant slowdown.  IIRC, the benchmark it
affects the most is count-graphs, where it causes roughly 2X
slowdown. 

> I am not sure I understand how it is implemented. Thanks.

It is implemented by adding an extra field to exceptions, a string
list ref, and inserting code at every raise (and in particular at
every implicit reraise at every handle) to cons the source code
position onto the list.


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel