RFC on range design for D2
bearophile
bearophileHUGS at lycos.com
Wed Sep 10 09:18:49 PDT 2008
Andrei Alexandrescu:
> I hope Walter wouldn't do
> anything else. If there are differences in growth strategies between D1
> and D2, that could explain the difference between bearophile's
> benchmarks and mine.
You can't compare benchmarks of two different compilers.
(Your code doesn't work (on D1) if T is a static array, and using the ~= looks like a better interface for the append. Your code doesn't append arrays, so you have to call it many times if you want to append strings (in D1) that's a very common case.)
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list