On 9/18/2011 3:33 PM, Peter Alexander wrote: > Does dmd also cache commonly imported modules in this case? > > e.g. > > // foo.d > /+ lots of code +/ > > // bar.d > import foo; > > // baz.d > import foo; > > dmd foo.d bar.d baz.d > > How many times is foo parsed? Once? Once.