You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
@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 in Revise.module2files won't be mutated by subsequent revise calls?
The text was updated successfully, but these errors were encountered:
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.
@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?The text was updated successfully, but these errors were encountered: