Speeding up importing Phobos files

Patrick Schluter Patrick.Schluter at bbox.fr
Fri Jun 7 21:31:56 UTC 2019


On Friday, 7 June 2019 at 19:56:27 UTC, Nick Sabalausky 
(Abscissa) wrote:
> On 6/7/19 8:50 AM, KnightMare wrote:
>> zip-archive allows you to unpack the file in its original form.
>> unpacking allows to see source code.
>> 
>
> That's an interesting approach to the issue: Just allow a 
> package to be either a directory tree OR a tar/tarball archive 
> of a directory tree. Then, the language itself wouldn't need 
> any provisions at all to support multiple packages in one file, 
> and the compiler could still read an entire multi-module 
> package by accessing only one file.

Isn't it what Java does? A jar file is nothing more than a zip 
file.


More information about the Digitalmars-d mailing list