On Saturday, 21 December 2013 at 21:38:59 UTC, Dmitry Olshansky
wrote:
As it stands the only thing lazy buys us is "pay as you touch"
contrary to "pay as you name the intent to touch". The problem
is that the payment is for the whole stock of the said "shop".
I see second problem (granularity of imports) as far more
critical then the first (condition under which the pieces are
imported). The second problem seems solvable within the current
implementation, the first seems like it would need arbitrary
amount of time to fix and gains are marginal.
We should also keep in mind that as we split up modules and split
apart dependencies, it also means that *as* we import a specific
package, we are increasing our "use/import" ratio, further
diminishing the issue of "import things we don't need." (who
would import "std.foo.bar.baz", if they weren't planning to use
baz?).
Arguably, we'd get "quadratic" effectiveness ;)