Skip to content

Implement AllocRef on System without GlobalAlloc #43

Open
@TimDiekmann

Description

@TimDiekmann

Currently, System as AllocRef calls the GlobalAlloc implementation. GlobalAlloc for System is implemented in std::sys::*::alloc.
I'd like to swap this for two reasons:

  • AllocRef has more methods like grow_in_place. At least dlmalloc supports this.
  • By name, System makes more sense to be implemented in std::sys::*::alloc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-TraitsOther traits beside the Alloc traitProposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions