Summary: rdmd: cache dependency file to improve startup time
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from ari edelkind <> 2011-06-17 
09:45:46 PDT ---
Created an attachment (id=1002)
Patch for --cache-deps functionality

The attached patch is quick and dirty, but you get the idea.  Instead of
unconditionally regenerating the deps file, apply this patch and use the
--cache-deps option to rdmd.  Startup time is improved dramatically.

  - The deps file is checked to ensure that it's newer than the target.
  - All dependencies (modules) are still checked.  If none of them have
changed, then none of the dependencies would have changed, either.
  - If a dependency changed and the object needs to be recompiled, then the
deps file is regenerated as well.

Patch is against tools.git version 6085e8521653ea031508444759cf37bbc3342245.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to