[Issue 17160] Apparently faulty behavior comparing enum members using `is`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 12 02:49:18 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=17160
Basile-z <b2.temp at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |performance
CC| |b2.temp at gmx.com
OS|Windows |All
--- Comment #3 from Basile-z <b2.temp at gmx.com> ---
compiler explorer shows clearly that for (in Enum) a real (80 bits) comparison
occurs while for (Enum) a more correct (and faster) 64 bits.
https://godbolt.org/z/W5PYMn
--
More information about the Digitalmars-d-bugs
mailing list