phobos dependencies

Marco Leise Marco.Leise at gmx.de
Sun Dec 22 19:44:00 PST 2013


Am Sat, 21 Dec 2013 22:43:58 +0100
schrieb Andrej Mitrovic <andrej.mitrovich at gmail.com>:

> 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



More information about the Digitalmars-d mailing list