Skip to content

useless rettype_const stored #58567

Open
Open
@vtjnash

Description

@vtjnash

It'd be nice if we didn't feel the need to store an extra array on every CodeInstance that we inferred allocates something reminding us that we don't know what exactly it will have allocated. This is a (memory) regression in v1.12

julia> which(Base.RefValue{Any}, (Any,)).specializations[1].cache.rettype_const
1-element Vector{Any}:
 Int32

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions