On Wednesday, 12 November 2014 at 15:40:49 UTC, Adam D. Ruppe
wrote:
On Wednesday, 12 November 2014 at 15:34:37 UTC, H. S. Teoh via
Digitalmars-d wrote:
Ilya has been working on localizing imports, which will help in
splitting up these modules.
I think if the imports can be localized, there's no need to
split the module, especially if it is template heavy like
std.algorithm, which is de-facto lazy and minimal anyway - they
are always imported, but the real work is only done upon being
used.
It is still needed because with such approach compile times can
regress easily if something gets turned from template to normal
function or anything like that. Smaller modules are simply more
resilient in that sense because it is easier to locate the
offender.