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
634
August 5, 2021
Alternate ways to deal with arrays of subtypes of abstract type
Performance
type
,
type-stability
11
1168
April 19, 2022
Removing type instability causes the code slower
Performance
question
,
type-stability
8
333
December 3, 2023
Disabling allocations
Performance
50
5554
December 10, 2020
Declaring types: Vector{Union{Int64, Matrix{Int64}}} is much slower than Vector{Any}, why is that?
Performance
question
10
240
July 2, 2024