FG: > but why is so much memory wasted in the first D example? There is also assumeSafeAppend, for your experiments :-) Beside the experiments, there is also this to read: http://dlang.org/d-array-article.html Bye, bearophile