And ref Dispatch time using `Val` is an order of magnitude slower than looking up with `Dict` - #2 by yuyichao You are trying to express something simple using something fundamentally more complex and this will never make things faster.
yuyichao
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Dispatch on type tuples in runtime? | 18 | 965 | April 11, 2021 | |
| How to dispatch by value? | 25 | 4977 | July 28, 2021 | |
| Experiments in speeding up runtime dispatch for integer value specialization | 28 | 1406 | November 18, 2022 | |
| How do I make a dispatch table using multiple dispatch instead of Dict? | 20 | 1566 | May 9, 2021 | |
| Speed of multiple dispatch | 14 | 1315 | November 27, 2023 |