Re: Does the CTFE engine reuse variables?

2017-04-09 Thread Stefan Koch via Digitalmars-d-learn
On Sunday, 9 April 2017 at 05:42:02 UTC, Jethro wrote: Suppose one has a function that will be used in CTFE and it uses a lot of local variables. Does each call of the function end up allocating space for these without ever releasing them or are they reused? or used on the stack like normal?

Does the CTFE engine reuse variables?

2017-04-08 Thread Jethro via Digitalmars-d-learn
Suppose one has a function that will be used in CTFE and it uses a lot of local variables. Does each call of the function end up allocating space for these without ever releasing them or are they reused? or used on the stack like normal?