Speeding up compilation of template-heavy code
drathier
forum.dlang.org at fi.fo
Sun Feb 23 10:04:10 UTC 2020
On Saturday, 22 February 2020 at 17:44:52 UTC, Stefan Koch wrote:
> no. -vcg-ast runs directly before codegen.
> All ast-rewriteing has already happend at that point.
> The reason it contains the template declarations is because
> they are still in the ast.
> There is no point in removing them.
Thanks, I didn't even consider the possibility of a compiler
mutating the ast in-place. Spent too much time writing Haskell, I
guess.
More information about the Digitalmars-d-learn
mailing list