News for hackers. Stuff that matters.
Re:The Performance Impact of C++'s `final` Keyword by adrianN on Tuesday April 23, 2024 @12:03AM (#40128361)
Both the switch and the if have O(1) instructions, so both are the same from an algorithmic complexity perspective.

There are no comments on this comment yet.