https://issues.dlang.org/show_bug.cgi?id=15195

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |performance
                 CC|                            |[email protected]
           Severity|normal                      |enhancement

--- Comment #2 from Walter Bright <[email protected]> ---
Passing the address of a local variable to a nested function causes a closure
to be allocated. It's working as designed, though the analysis is
unsophisticated and could potentially be improved, so marked as an enhancement
request.

--

Reply via email to