new T[size] vs .reserve - alloca

bearophile bearophileHUGS at lycos.com
Tue Feb 5 08:39:58 PST 2013


Nick Treleaven:

> ^ I know you're aware of this, but maybe others might not know 
> the default-argument alloca wrapping trick:

For some usages it's an improvement over raw usage of alloca.
I did see this in past, but sometimes I forget.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list