ClojureScript

Full analysis for Closure optimized builds

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

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.

Activity

Hide
David Nolen added a comment -

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?

Show
David Nolen added a comment - 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?
Hide
David Nolen added a comment -

Looking more closely at closure.clj and compiler.clj this doesn't seem necessary, we always analyze files that we haven't seen before.

Show
David Nolen added a comment - Looking more closely at closure.clj and compiler.clj this doesn't seem necessary, we always analyze files that we haven't seen before.
David Nolen made changes -
Field Original Value New Value
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: