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.
[ Parent
| on HN ]
There are no comments on this comment yet.