Speeding up importing Phobos files
Mike Franklin
slavo5150 at yahoo.com
Sun Jun 9 02:47:02 UTC 2019
On Saturday, 8 June 2019 at 00:00:17 UTC, Mike Franklin wrote:
> On Friday, 7 June 2019 at 16:38:56 UTC, Seb wrote:
>
>> Reading files is really cheap, evaluating templates and
>> running CTFE isn't. That's why importing Phobos modules is
>> slow - not because of the files it imports, but because of all
>> the CTFE these imports trigger.
>
> Yes that makes much more sense to me. But, if that's the case,
> what's all the concern from Walter and Andrei expressed in this
> thread and in the conversations linked below?
>
> https://forum.dlang.org/post/q7dpmg$29oq$1@digitalmars.com
> https://github.com/dlang/druntime/pull/2634#issuecomment-499494019
> https://github.com/dlang/druntime/pull/2222#issuecomment-398390889
Another recent comment from Walter:
https://github.com/dlang/dmd/pull/9814#issuecomment-493773769
It seems there is disagreement about what the actual issue is.
Mike
More information about the Digitalmars-d
mailing list