2. Why with class Too { private uint[] pp; this(int s) { pp = new unit[s]; }
alias pp this; } Only 3 iterations before out of memory exception? 3. Why it helps? foreach (i; 0 .. 10) { file.rawRead(data); } GC.free(data.ptr); Win 8 Pro, 64 bit.
2. Why with class Too { private uint[] pp; this(int s) { pp = new unit[s]; }
alias pp this; } Only 3 iterations before out of memory exception? 3. Why it helps? foreach (i; 0 .. 10) { file.rawRead(data); } GC.free(data.ptr); Win 8 Pro, 64 bit.