--- Comment #3 from ZY Zhou <> 2009-11-30 21:24:04 PST ---
(In reply to comment #2)
> No, this is because, on the second run, the program has already reserved a
> bunch of memory from the OS, so the GC doesn't run as often.

try this:

import std.stdio;
void main(){
 int[int] a;
  a[i] = i;
  if((i&0xFFFF) == 0) writeln(i);

You can see how slow it becomes when AA is large.
I don't think memory allocation could take so much time.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to