there has been quite a few related discussion on union splitting / world age splitting in relation to performence, you might be interested in them:
jling
11
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Struct with abstract-type field | 22 | 7859 | June 24, 2020 | |
| Avoiding Vectors of Abstract Types | 22 | 4680 | February 17, 2022 | |
| How does Any actually work? | 48 | 1249 | December 25, 2024 | |
| Performance problems when dealing with deliberately type-unstable code. How to use type knowledge better? | 33 | 2313 | December 30, 2020 | |
| Dramatic performance change by adding additional unused method | 33 | 2133 | November 23, 2021 |