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 | 7873 | June 24, 2020 | |
| Avoiding Vectors of Abstract Types | 22 | 4690 | February 17, 2022 | |
| How does Any actually work? | 48 | 1280 | December 25, 2024 | |
| Performance problems when dealing with deliberately type-unstable code. How to use type knowledge better? | 33 | 2326 | December 30, 2020 | |
| Dramatic performance change by adding additional unused method | 33 | 2138 | November 23, 2021 |