Skip to content

Make use of shrinkSmallMutableArray# primop #362

Closed
@sjakobi

Description

@sjakobi

Since GHC 8.10 there is a shrinkSmallMutableArray# primop that may be useful for functions like filter and mapMaybe. It would allow us to perform deletions in-place instead of creating a new array.

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