Limitchecks...

Daniel Wang danwang@cs.princeton.edu
24 Feb 2000 15:05:29 -0500


I'm trying to compare my user gc with MLtons C native version. This is a bit
hard, as to get an apples to apples comparison I need to make sure each
program invokes the GC the same number of times. The obvious hack is to make
sure my user GC and MLton's GC just get invoked at every nth limitcheck, but
for that to happend I've got make sure I've got a limit check exactly where 
MLton has one. 

so what's MLton's policy for placing limitchecks? Can I make it "dumb" and
have it insert one at every function/label entry?