On Sunday, 6 August 2017 at 02:19:19 UTC, FoxyBrown wrote:
Also, does it do the allocation at compile time(reserve space on the stack for the variable along with all the others or does it "allocate" space on the stack at runtime?... which is slightly slower).

compile time. It works like a static array of the appropriate size.

though the cost if ti was at runtime is small regardless. I think it is just a register subtract.

Reply via email to