A New Import Idiom`

Daniel N via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Feb 13 08:47:27 PST 2017


On Monday, 13 February 2017 at 16:17:49 UTC, jmh530 wrote:
>
> So I tried it again comparing all three versions on my machine. 
> This time I didn't notice a difference in compilation speed or 
> binary size between the version with
>
> import std.datetime;
> import std.traits;
>
> and the one with
>
> import std.datetime : SysTime;
> import std.traits : isIntegral;
>
> So I'm not sure it matters.

Cool, thanks for checking!


More information about the Digitalmars-d-announce mailing list