dub: JSON, SDL, YAML, TOML, what color should we paint it ?
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Thu Mar 2 13:56:40 UTC 2023
On 03/03/2023 12:40 AM, Atila Neves wrote:
> On Wednesday, 1 March 2023 at 18:13:35 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>> I've been working on trying to get dub to build faster.
>
> The simplest way is to get it to build per D package, in threads, and
> track dependencies. Which reggae does already, but it'd be nice if
> everyone else could benefit.
>
> dub also takes quite a while to do mostly nothing, which reggae
> sidesteps by only asking dub for info when it generates the build
> instead of every time.
Its significantly faster once you turn off networking.
There needs to be a local cache of packages rather than asking the
dub-registry for everything all the time.
>> Dyaml appears to be a big ol' pile of slow code to build.
>>
>> So far I've shaved off 2s from its build, down to 22s with dmd.
>
> This would be considered fast at work. Much to my chagrin.
Oh no.
More information about the Digitalmars-d
mailing list