Skip to content

How small object optimizations work #98

@lefticus

Description

@lefticus

std::any, std::function and std::string each have optimizations that avoid heap allocations for the case of "small" objects. How do these optimizations work?

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions