Sub-optimal code generated for certain calls to functions with auto ref qualified parameters

Per Nordlöw per.nordlow at gmail.com
Mon Aug 10 15:46:36 UTC 2020


On Monday, 10 August 2020 at 15:40:19 UTC, kinke wrote:
> It generates code according to the specification of `auto ref` 
> (passing by ref for all lvalues and by value for all rvalues, 
> the type doesn't matter at all), which isn't the ideal solution 
> for passing input parameters in the most efficient way, hence 
> that PR.

Thanks


More information about the Digitalmars-d mailing list