[Issue 11497] lambda in "static if"/"assert" prevent inlining of function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 11 13:14:11 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11497



--- Comment #1 from monarchdodra at gmail.com 2013-11-11 13:14:10 PST ---
To add, this happens regardless of optimization flags:

> dmd -release -O -inline -run hello.d 
1
Time: 11ms
2
Time: 1972ms

> dmd -release -O -run hello.d 
1
Time: 92ms
2
Time: 1967ms

> dmd -release -run hello.d 
1
Time: 167ms
2
Time: 2020ms

> dmd -run hello.d 
1
Time: 148ms
2
Time: 2023ms

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


More information about the Digitalmars-d-bugs mailing list