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 | 4413 | July 9, 2021 | |
| [ANN]: WrappedUnions.jl: Wrap a Union for enhanced type-stability | 11 | 804 | March 24, 2026 | |
| Performance benefits of multiple dispatch | 20 | 2663 | December 19, 2021 | |
| Performance drawback with subtyping | 34 | 3460 | August 26, 2021 | |
| Slow code with Union and Box | 17 | 396 | March 6, 2024 |