Skip to content

summarysize is incorrect for small union types #33675

@cstjean

Description

@cstjean
julia> Base.summarysize(Vector{Union{Float64, Missing}}(undef, 1000))
8040

julia> Base.summarysize(Vector{Float64}(undef, 1000))
8040

Can that possibly be right? It seems that it's not counting the extra type bit vector?

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions