Skip to content

value::insert is slow #152

@tgockel

Description

@tgockel

Inserting into an object using val.insert({ std::move(key), std::move(val) }) is incredibly slow. While things should be moved everywhere, this does not appear to be happening. It is significantly faster to use val[std::move(key)] = std::move(val);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions