News for hackers. Stuff that matters.
Re:Six times faster than C by flohofwoe on Friday July 07, 2023 @02:57AM (#36628184)
It shouldn't if the control flow is actually identical.

E.g. note how both the switch- and if-based functions generate the same code using a lookup table here:

https://godbolt.org/z/qoT3M7r5G

There are no comments on this comment yet.