Julia Programming Language
Array of union causing 10x slowdown
General Usage
Performance
type-stability
jling
December 7, 2022, 2:56am
2
maybe
Allocation and slow down when # of types involved increase (slower than C++ virtual methods)
show post in topic
Related topics
Topic
Replies
Views
Activity
Is Union{Missing, Float64} a concrete type?
Performance
3
675
August 5, 2021
Alternate ways to deal with arrays of subtypes of abstract type
Performance
type
,
type-stability
11
1261
April 19, 2022
Removing type instability causes the code slower
Performance
question
,
type-stability
8
393
December 3, 2023
[ANN]: WrappedUnions.jl: Wrap a Union for enhanced type-stability
Package Announcements
package
,
announcement
,
type
,
type-stability
,
union
11
810
March 24, 2026
Disabling allocations
Performance
50
6052
December 10, 2020