std.collection lets rename it into std,ridiculous.

F i L witte2008 at gmail.com
Mon Mar 5 19:59:42 PST 2012


Jonathan M Davis wrote:
> Nick ran into this problem and ended up writing an article on 
> it:
>
> https://www.semitwist.com/articles/article/view/don-t-use-arrays-as-stacks
>
> And, of course, if you haven't read Steven's article on arrays, 
> you should
> read that:
>
> http://www.dsource.org/projects/dcollections/wiki/ArrayArticle
>
> In fact, we really should get Steven's article up on dlang.org. 
> It's one of
> those articles that _every_ D programmer should read.
>
> - Jonathan M Davis

I didn't know about array.reserve() and array.capacity! Is there 
any other undocumented methods? Like capacityStep maybe?



More information about the Digitalmars-d mailing list