[Issue 10820] curly brakets prevent inlining with DMD
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 11 01:26:07 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10820
--- Comment #3 from monarchdodra at gmail.com 2013-10-11 01:26:06 PDT ---
(In reply to comment #2)
> 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.
Most awesome!
I was looking at the pull you submitted. It seems to only deal with
"ReturnStatement".
This is already
--
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