Another small one for Leandro Lucarella:
struct S { int a; S* p; }
void main() {
foreach (ref s; new S*[4_000_000])
s = new S;
}Timings N=4_000_000, best of 3, seconds: D1: 2.47 D2: 2.68 On WinXp, Core2 2 GHz, last DMD1 and DMD2. In future I may use private email instead. Bye, bearophile
