Am Thu, 19 Dec 2013 10:56:19 +0100
schrieb Joseph Rushton Wakeling <joseph.wakel...@webdrake.net>:

> On 19/12/13 00:08, Walter Bright wrote:
> > 4. Break kitchen sink modules like std.algorithm into one module per 
> > algorithm.
> > This should not result in code duplication.
> 
> That might be desirable for other purposes anyway (std.algorithm is big!), 
> but 
> how does this differ from the existing possibility of doing, e.g.,
> 
>      import std.algorithm : sort;

Selective imports are even slower than normal imports. You
still have to load all of std.algorithm to find and
disambiguate the symbol. Only when you split up the file
physically it will reduce the compiler's workload.

-- 
Marco

Reply via email to