Changes between Version 6 and Version 7 of Commentary/Compiler/RecompilationAvoidance


Ignore:
Timestamp:
Nov 30, 2007 4:35:46 PM (8 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/RecompilationAvoidance

    v6 v7  
    207207It works like this:
    208208
    209  * `D` is recopmiled; the version of `D.f` increases
     209 * `D` is recompiled; the version of `D.f` increases
    210210 * `B` is considered; it recorded a usage on the old `D.f`, so
    211211   gets recompiled, and now its interface records a usage on the new `D.f`
     
    310310re-exported, and we might get less recompilation.
    311311
     312However, this is not so good, because now when modifying a module at the bottom of the dependency graph we have to invoke the compiler on every single module above it: that is, we lost the benefit of the optimisation of not modifying the `.hi` file if it hasn't changed.
     313
    312314=== fingerprints instead of versions ===
    313315