Is it possible to "cache" results of compile-time executions between compiles?

Profile Anaysis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 24 13:41:12 PST 2017


On Tuesday, 24 January 2017 at 21:36:50 UTC, Profile Anaysis 
wrote:
>...

Maybe with all this talk of the new CTFE engine being developed, 
a similar mechanism can be used optionally? This could help with 
debugging also.

In debug mode, the cfte mixin's are written to disk with hash, if 
they are not a string themselves. (could be done with all cfte's, 
I suppose, but not sure about performance and consistency)

Then debuggers can use the outputed cfte's for proper analysis, 
line breaking, etc...











More information about the Digitalmars-d-learn mailing list