[Issue 10848] Compiler should always try to inlining a direct lambda call

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 19 21:02:54 PDT 2013


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



--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> 2013-08-19 21:02:53 PDT ---
(In reply to comment #2)
> It would be nice if this also applied to opApply that basically uses a single
> loop:

To make expand opApply foreach useful, it would need two-level inlining. (first
is for the call of opApply, second is for the call of the scope delegate)

I can imagine that in most case it would introduce generated code bloat.
Therefore I think it should be treated by the -inline switch without any
special treatment.

-- 
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