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

Reply via email to