[Issue 10820] curly brakets prevent inlining with DMD
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 11 01:12:12 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10820
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |performance, pull
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-10-11 01:12:11 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2654
With patched dmd, the OP code output is:
$ dmd -run test.d
DMD v2.064 DEBUG
foo1: 426ms.
foo2: 454ms.
foo3: 391ms.
foo4: 401ms.
$ dmd -O -inline -run test.d
DMD v2.064 DEBUG
foo1: 67ms.
foo2: 35ms.
foo3: 35ms.
foo4: 33ms.
--
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