digitalmars.D.learn - Does the CTFE engine reuse variables?
- Jethro (4/4) Apr 08 2017 Suppose one has a function that will be used in CTFE and it uses
- Stefan Koch (2/6) Apr 08 2017 Nothing get's reeused.
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?
Apr 08 2017
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?Nothing get's reeused.
Apr 08 2017