Prevent Garbage Collector
Adam D. Ruppe
destructionator at gmail.com
Sat Jan 4 16:27:59 PST 2014
On Sunday, 5 January 2014 at 00:17:12 UTC, Jeroen Bollen wrote:
> Also a somewhat unrelated question, variables in D get
> initialized by default, do they also when you define them right
> after? Something like:
Maybe. Logically, it is always initialized unless you explicitly
tell it not to ( = void on declarations, not sure about making
new return uniniialized memory), but the optimizer might see that
the initalization is useless and skip it.
More information about the Digitalmars-d-learn
mailing list