Date: Wed, 14 May 2025 07:05:25 +0200
A matching switch expression could be useful and could get optimised into a
jump table
```cpp
int meow = 5;
int purr = switch(meow)
{
case 5: 123;
case 123: 321;
default: throw nullptr;
};```
Whatever the syntax would be, this is just an example and it can definitely
improve
Tymi.
jump table
```cpp
int meow = 5;
int purr = switch(meow)
{
case 5: 123;
case 123: 321;
default: throw nullptr;
};```
Whatever the syntax would be, this is just an example and it can definitely
improve
Tymi.
Received on 2025-05-14 05:05:38