except.mlton

Doug Bagley doug@bagley.org
Tue, 10 Jul 2001 12:41:25 -0500 (CDT)


Stephen Weeks wrote:
> 
> I just looked into why MLton does so well on the except benchmark and discovered
> that it is able to turn all the raise/handle pairs into direct jumps, since it
> can figure out the control-flow at compile time.  Maybe fair, maybe not, but I
> thought you should know.  Personally, I'm pleased that the analysis does this.

Thanks for the info.

I must admit that the exceptions test is really there because I wanted
to build up a little library of examples of how to use exceptions in
each langauge.  But it's nice to that they are fast too :-)

Cheers,
Doug