comparison src/settings.sml @ 2301:8d772fbf59c1

Tweak cache consolidation and choose better default.
author Ziv Scully <ziv@mit.edu>
date Fri, 20 Nov 2015 03:26:21 -0500
parents 47d5c94aeeb8
children 6fb9232ade99
comparison
equal deleted inserted replaced
2300:57f6473b1469 2301:8d772fbf59c1
809 809
810 val sqlcache = ref false 810 val sqlcache = ref false
811 fun setSqlcache b = sqlcache := b 811 fun setSqlcache b = sqlcache := b
812 fun getSqlcache () = !sqlcache 812 fun getSqlcache () = !sqlcache
813 813
814 val sqlcacheHeuristic = ref "always"
815 fun setSqlcacheHeuristic h = sqlcacheHeuristic := h
816 fun getSqlcacheHeuristic () = !sqlcacheHeuristic
817
818 structure SM = BinaryMapFn(struct 814 structure SM = BinaryMapFn(struct
819 type ord_key = string 815 type ord_key = string
820 val compare = String.compare 816 val compare = String.compare
821 end) 817 end)
822 818