Keep track of autos to be solved, shaves about 12% off of Elab.newt processing time

This commit is contained in:
2025-04-05 21:25:53 -07:00
parent 549cca19e3
commit eeb790f1b2
10 changed files with 134 additions and 90 deletions

View File

@@ -62,7 +62,7 @@ loadModule qn src = do
let ops = mapFromList ops
let defs = mapFromList $ map (\ entry => (entry.name, entry)) defs
-- REVIEW can we ignore those last two inside a module
let mctx = MC (mapFromList mctx) 0 NoCheck
let mctx = MC (mapFromList mctx) Nil 0 NoCheck
if csum == src
then pure $ Just $ MkModCtx csum defs mctx ops
else pure Nothing