Does anyone know if when I create a variable inside a scope as in
{int a = 10;}
it disappears complete from the memory when the scope finishes?
Or does it remain in some part of the memory? I am thinking of
using scopes to make optimized programs that consume less memory.
Block statements and memory management
Murilo via Digitalmars-d-learn Fri, 15 Mar 2019 20:50:37 -0700
- Block statements and memory manageme... Murilo via Digitalmars-d-learn
- Re: Block statements and memory... Paul Backus via Digitalmars-d-learn
- Re: Block statements and memory... Meta via Digitalmars-d-learn
- Re: Block statements and memory... Dennis via Digitalmars-d-learn
- Re: Block statements and me... spir via Digitalmars-d-learn
- Re: Block statements an... H. S. Teoh via Digitalmars-d-learn
- Re: Block statements and memory... Johan Engelen via Digitalmars-d-learn
- Re: Block statements and me... Murilo via Digitalmars-d-learn
