Skip to content

Memset on dev in linux #3

@turingfan

Description

@turingfan

The memory management code in dev branch in platform_memory.h tries to avoid zeroing memory using memset to save time for short runs.

On Mac it checks the return value of memadvise() and falls back to memset. But on Linux it does not do this so could fail to zero memory correctly.

This is currently not implemented at all for Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions