Skip to content

Optionaly set memory to zero when allocating #30

@ysbaddaden

Description

@ysbaddaden

In addition to the atomic arg, there could be a clear arg to set the memory to zero on allocation. While we can call memset right after a GC_malloc it might be slightly more efficient to call it right when we allocate?

Or maybe not: we're likely to dereference the pointer right after we allocate, so calling memset when we allocate or when we dereference the pointer is maybe irrelevant.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions