Mercurial > urweb
diff src/main.mlton.sml @ 2299:47d5c94aeeb8
Add consolidation heuristic options.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Thu, 19 Nov 2015 17:29:47 -0500 |
parents | 639e62ca2530 |
children | 8d772fbf59c1 |
line wrap: on
line diff
--- a/src/main.mlton.sml Thu Nov 19 16:02:04 2015 -0500 +++ b/src/main.mlton.sml Thu Nov 19 17:29:47 2015 -0500 @@ -162,6 +162,9 @@ | "-sqlcache" :: rest => (Settings.setSqlcache true; doArgs rest) + | "-heuristic" :: h :: rest => + (Settings.setSqlcacheHeuristic h; + doArgs rest) | "-moduleOf" :: fname :: _ => (print (Compiler.moduleOf fname ^ "\n"); raise Code OS.Process.success)