Re: Details of the inline import idiom

2019-09-26 Thread Paul Backus via Digitalmars-d-learn
On Friday, 27 September 2019 at 03:37:53 UTC, TheGag96 wrote: I was looking back at the inline import idiom article[1]. One of the purported benefits of doing something like from!"std.datetime".SysTime was that doing so wouldn't go and import the entirety of the module into the namespace and sl

Details of the inline import idiom

2019-09-26 Thread TheGag96 via Digitalmars-d-learn
I was looking back at the inline import idiom article[1]. One of the purported benefits of doing something like from!"std.datetime".SysTime was that doing so wouldn't go and import the entirety of the module into the namespace and slow down compile time / bloat the binary. But how is this so? W