Skip to content

Memory Pool optimizations #24

@eruffaldi

Description

@eruffaldi

1 - align to next pow2: useful for the little variable blocks of x264 compressors. Hint from user
2 - skip for smaller then size K: probably makes not necessary previous one
3 - per-task memory pool with lightweight deleter: the concept is that we want to reduce the cost of multithreaded allocation so we employ:
3.1 - per-task or per-activity pool (reasonable given the usage patterns)
3.2 - deletion can be lock-less

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions