In this discussion How to make a vector of parametric composite types? - #11 by Olivier_Merchiers it also appeared from benchmarks that empty instances were faster than using types.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Should I dispatch on singleton types or their instances? | 6 | 1351 | September 1, 2019 | |
| Naming of singleton types and their instance | 10 | 2432 | January 17, 2018 | |
| Best practices for type dispatch? | 3 | 1187 | April 11, 2017 | |
| Weird Tuple types that seem like they should be disallowed? | 11 | 734 | March 14, 2021 | |
| Abstract type versus singleton struct | 6 | 879 | March 25, 2020 |