This rips off most of @timholy's caching approach, from an earlier PR but ensures we pull in all the variables needed (including, inter alia, some imported and using'ed variables). It also fixes a bug whereby within a module a lot of symbols were being stored when they didn't need to be.
Speedup is ~3x for caching some arbitrary packages on my machine.
This rips off most of @timholy's caching approach, from an earlier PR but ensures we pull in all the variables needed (including, inter alia, some imported and using'ed variables). It also fixes a bug whereby within a module a lot of symbols were being stored when they didn't need to be.
Speedup is ~3x for caching some arbitrary packages on my machine.