http://d.puremagic.com/issues/show_bug.cgi?id=5845



--- Comment #3 from Don <clugd...@yahoo.com.au> 2011-05-18 01:31:35 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > This is not useful as a benchmark.
> 
> Do you want to tell me why?

Because a simpler benchmark that tests exactly the same things is:
int foo(int n) {
  for (int i=0; i< n; ++i) {}
  return 0;
}
static assert(foo(10000));
Your code is longer but it tests NOTHING else.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to