Designing with the GC out of mind
bearophile
bearophileHUGS at lycos.com
Tue Aug 6 06:51:45 PDT 2013
QAston:
> There's complete list at http://dlang.org/garbage.html -
> paragraph: "D Operations That Involve the Garbage Collector"
I think that list is not fully updated, this was recently a
little improved:
> Array literals (except when used to initialize static data)
Now if you initialize a fixed sized array even if it's not
static, no allocations will happen for the array literal itself.
Bye,
bearophile
More information about the Digitalmars-d
mailing list