quick question, probably of little importance...

WhatMeWorry kheaser at gmail.com
Wed Apr 26 23:07:39 UTC 2023


On Wednesday, 26 April 2023 at 23:02:07 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> Don't forget ``num % 2 == 0``.
>
> None should matter, pretty much all production compilers within 
> the last 30 years should recognize all forms of this and do the 
> right thing.

Thanks. Fastest reply ever! And I believe across the world?   I 
suppose my examples required overhead of a function call. So 
maybe num % 2 == 0 is fastest?


More information about the Digitalmars-d-learn mailing list