3 ms·
Yeah, plus the if branches are runtime-checks instead of the if-constexpr approach
by joe_loser 9y ago
Yeah, plus the if branches are runtime-checks instead of the if-constexpr approach
- gpderetta 9y agoThere is about the same amount of runtime checks. In the auto-lambda+constexpr case the switch/if-cascade is inside visit and it is required to dispatch the correct type to the visitor.