Am Sat, 21 Dec 2013 22:43:58 +0100
schrieb Andrej Mitrovic <[email protected]>:

> I could think of more optimizations, for example if we had a way of
> exporting a list of module-level symbols into some kind of
> intermediary format (say JSON), the compiler could look up this list
> rather than to have to eagerly load every module in search of a
> symbol.

We have .di files already, which could cut on the amount of
parsing required.

Other than that your idea for partially lazy imports looks like
a good first optimization to me. Selective imports always
override symbols of the same name in other imported modules,
right?

-- 
Marco

Reply via email to