DUB - call to arms

Andre Pany andre at s-e-a-p.de
Fri Apr 26 22:56:53 UTC 2019


On Friday, 26 April 2019 at 22:33:50 UTC, H. S. Teoh wrote:
> On Fri, Apr 26, 2019 at 08:28:37PM +0000, H. S. Teoh via 
> Digitalmars-d wrote: [...]
>> According to Nick, every dub package carries its own 
>> description file (sdl/json) that encodes, among other things, 
>> its version and dependencies.  Apparently, this information 
>> resides per-package on code.dlang.org, and so every time dub 
>> has to resolve dependencies for a particular package, it has 
>> to download the description files of *every version* of the 
>> package??  Can somebody confirm whether or not this is really 
>> the case?
> [...]
>
> Actually, nevermind that.  Dub already combines the 
> descriptions into a single file.  So the bottleneck(s) must lie 
> elsewhere...
>
>
> T

Also with recent Dub version a major performance optimization was 
done
https://dlang.org/changelog/2.086.0.html#single-api-requests

In addition Sebastian is also working on parallel dependencies 
download.

Kind regards
Andre




More information about the Digitalmars-d mailing list