Performance test of short-circuiting AliasSeq

Walter Bright newshound2 at digitalmars.com
Tue Jun 2 06:52:00 UTC 2020


On 6/1/2020 1:23 PM, Stefan Koch wrote:
> TLDR; Performance patch caused a slowdown.
> Why? Because the checking for the case which it wants to optimize takes more 
> time than you safe by optimizing it.

You'll need a finer grained profile to reach this conclusion than the gross 
measurement of the compiler runtime. I suggest using Vtune.


More information about the Digitalmars-d mailing list