newCTFE Status August 2019

Walter Bright newshound2 at digitalmars.com
Mon Aug 19 23:04:23 UTC 2019


On 8/19/2019 7:02 AM, Ethan wrote:
> Even just a patch to fix array memory handling behind the scenes would be great.

The memory handling could be fixed if the CTFE's allocated AST's were all 
allocated from a separate pool, and marked as such. Then, the returned AST from 
CTFE can be scanned and every marked node replaced. Then, the entire pool can be 
discarded.

Should be fairly simple to implement.


More information about the Digitalmars-d mailing list