Skip to content

document a lack of compatibility for BoundsError #118

@nsajko

Description

@nsajko

BoundsError seems problematic from the perspective of allocation elimination, because a BoundsError stores the array, making the throw(::BoundsError) escape the array, foiling escape analysis and thus making it impossible to eliminate the allocation of the array.

Probably either the Readme or the documentation should say that FixedSizeArrays.jl may change the exception type without making a breaking release.

xref #116

xref JuliaLang/julia#43738

xref JuliaLang/julia#56167

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions