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
When running sorcery on (for example) a browserify bundle, the likelihood is that various external modules will be included. Since these aren't going to change often (if at all), it would make sense to cache analysis in memory and re-use it in the case of incremental rebuilds, potentially avoiding having to re-analyse large subtrees of the bundle.
As a starting point, storing the analysis in memory (must likely against a crc32 checksum of the file contents) would go a long way. Ideally the analysis would be saved to disk (e.g. in a .sorcery.json file) so that it would work with the CLI as well as with gobble-sorcery.
The text was updated successfully, but these errors were encountered:
When running sorcery on (for example) a browserify bundle, the likelihood is that various external modules will be included. Since these aren't going to change often (if at all), it would make sense to cache analysis in memory and re-use it in the case of incremental rebuilds, potentially avoiding having to re-analyse large subtrees of the bundle.
As a starting point, storing the analysis in memory (must likely against a crc32 checksum of the file contents) would go a long way. Ideally the analysis would be saved to disk (e.g. in a
.sorcery.json
file) so that it would work with the CLI as well as with gobble-sorcery.The text was updated successfully, but these errors were encountered: