julia
39255d47 - bpart: Skip implicit import reval if using'd export set is unchanged (#57421)

Commit
361 days ago
bpart: Skip implicit import reval if using'd export set is unchanged (#57421) When loading a pkgimage, the new bpart validation code needs to check if the export set of any using'd packages differs from what it would have been during precompile. This could e.g. happen if somebody (or Revise) eval'd a new `export` statement into a package that was `using`'d. However, this case is somewhat rare, so let's optimize it by keeping a bit in `Module` that keeps track of whether anything like that has happened and if not skipping the revalidation. This slightly improves pkgimage load time in the ordinary case. More optimizations to follow.
Author
Parents
Loading