Skip to content

Realloc API #839

Open
Open
@qinsoon

Description

@qinsoon

Currently our bindings are implementing realloc by doing a new allocation and mem copy. I think we should introduce a realloc API. Allocators can do more efficient realloc when they can resize/expand the allocation. If they can't, they can fall back to the strategy of doing new allocation and mem copy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions