Also, there is #37378 which removed the union size limit for “single dispatch sites”. Also, see Avoiding Vectors of Abstract Types
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Union splitting vs C++ | 22 | 4417 | July 9, 2021 | |
| [ANN]: WrappedUnions.jl: Wrap a Union for enhanced type-stability | 11 | 824 | March 24, 2026 | |
| Performance benefits of multiple dispatch | 20 | 2672 | December 19, 2021 | |
| Performance drawback with subtyping | 34 | 3472 | August 26, 2021 | |
| Slow code with Union and Box | 17 | 399 | March 6, 2024 |