[Issue 2008] Poor optimization of functions with ref parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 9 04:35:45 PDT 2010


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



--- Comment #7 from Brad Roberts <braddr at puremagic.com> 2010-05-09 04:35:43 PDT ---
Testing with the code from Marcin, using -O -inline and fixing several bugs due
to changes since 2008:

Direct: t - time: 4319
With ref: t - time: 4319
Without ref: t - time: 4382

The code changes (not perfect, but enough to get it to compile):
  1) add .dup to the "test string" literal
  2) s/writefln/writeln/

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


More information about the Digitalmars-d-bugs mailing list