http://d.puremagic.com/issues/show_bug.cgi?id=6171

           Summary: rdmd: cache dependency file to improve startup time
                    [patch]
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: edelkind+purema...@gmail.com


--- Comment #0 from ari edelkind <edelkind+purema...@gmail.com> 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.

Notes:
  - 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to