Speed up `dub`.
Andrej Mitrovic via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jun 5 14:20:20 PDT 2016
On Thursday, 2 June 2016 at 13:04:00 UTC, ciechowoj wrote:
> and found that an assert from `std/path.d:3168` (`globMatch`)
> contributes a major amount to the running time of dub.
>
> ```
> assert(balancedParens(pattern, '[', ']', 0));
> assert(balancedParens(pattern, '{', '}', 0));
> ```
Hmm.. that sounds like the dub binary that's distributed is
running its unittests at start. If that's true I don't think they
should be part of the released binary..
More information about the Digitalmars-d-learn
mailing list