On Thursday, 1 October 2015 at 17:12:02 UTC, Jeremy DeHaan wrote:
On Thursday, 1 October 2015 at 01:41:22 UTC, Jan Johansson wrote:
[...]

Having the declarations in both files is the point though.

If you notice, the only difference between my test.d and test.di files is that test.di is only the declarations. The speed increase for compiling happens because of this. You still need all declarations to be there when you build, or at least the ones you use.

You build the library with test.d and then build using test.di when you use the library. You never use both test.d and test.di together. Double check my build commands.

The linker will be the bottleneck anyway, I don't think .di files are worth it.

Atila

Reply via email to