Open cstjean opened 7 years ago
module2files
just holds a list of dependent files. Do you mean file2modules
? (Yes, it's hard keeping track of the names.) I don't think so. If you revise a file, the expressions in file2modules
get replaced by their new values.
Ok, that's also what I understood from the code. Thank you.
@timholy Revise.jl achieves speed by mutating data structures, but TraceCalls.jl achieves it by memoizing function results. I already found out the hard way that this is a dangerous mix. Can I assume that the
Expr
objects inRevise.module2files
won't be mutated by subsequentrevise
calls?