Top 5

Denis Koroskin 2korden at gmail.com
Fri Oct 10 09:36:25 PDT 2008


On Fri, 10 Oct 2008 19:54:33 +0400, Benji Smith <dlanguage at benjismith.net>  
wrote:

> I think *all* arrays should be declared like this:
>
>     T[] array = new T[n];
>

You often want to avoid heap allocation at all cost. It can't be done as  
you propose.



More information about the Digitalmars-d mailing list