Skip to content

static-alloc: Implement a speedy version of alloc_zeroed #43

@197g

Description

@197g

In a special case, when the original constructor was zeroed, then the function does not need to perform its own zeroing of memory. This is helped by the fact that there is no reset function.

This could be implemented by a simple bool attribute containing the information on whether all of its remaining memory is zeroed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions