D compiles fast, right? Right??
Seb
seb at wilzba.ch
Fri Mar 30 20:22:54 UTC 2018
On Friday, 30 March 2018 at 16:12:44 UTC, Atila Neves wrote:
> Fast code fast, they said. It'll be fun, they said. Here's a D
> file:
>
> import std.path;
>
>
> Yep, that's all there is to it. Let's compile it on my laptop:
>
> /tmp % time dmd -c foo.d
> dmd -c foo.d 0.12s user 0.02s system 98% cpu 0.139 total
We had a recent discussion about this:
https://github.com/dlang/phobos/pull/5916
tl;dr:
- e.g. all unicode tables are probably imported and CTFE-ed
(that's a huge chunk)
- Vladimir has written an excellent tool (->
https://github.com/CyberShadow/DBuildStat)
More information about the Digitalmars-d
mailing list