[CLJS-612] Full analysis for Closure optimized builds Created: 06/Oct/13 Updated: 26/Oct/13 Resolved: 26/Oct/13
Currently because of incremental compilation, information required by whole program optimization like the constants table may be missing. This breaks incremental compilation. Thus it's important to have something like analyze-root analogous to compile-root so that we are sure that all files that are part of the build have been analyzed.
|Comment by David Nolen [ 26/Oct/13 2:46 PM ]|
Perhaps it's better to cache analysis results for each file to disk? If a file hasn't changed we can just use the cached analysis?
|Comment by David Nolen [ 26/Oct/13 3:14 PM ]|
Looking more closely at closure.clj and compiler.clj this doesn't seem necessary, we always analyze files that we haven't seen before.