dmdcache

Ali Çehreli acehreli at yahoo.com
Sat Apr 25 10:17:50 UTC 2020


A colleague of mine has written dmdcache which may be very useful for 
some projects:

   https://github.com/seeraven/dmdcache

It drops our build time

   from 8 minutes
   to 45 seconds

on a particular build environment for about half a dozen D programs, one 
of which ends up being a 2G executable! WAT! :) And the total cache size 
is 5.5G. Wow!

This build is with dmd 2.084.1 and that one particular application uses 
tons of template instantiations most of which are in generated source 
code. If I remember correctly, 2.084.1 does not contain template symbol 
name improvements and that may be the reason for the large size.

Enjoy!

Ali


More information about the Digitalmars-d-announce mailing list