Skip to content

Please add reserve() to wait_list #466

@piotrwyderski

Description

@piotrwyderski

wait_list is internally based on std::vector (the m_events field),
but there is no way to request a memory block reservation even
if the size is known, which leads to unnecessary reallocations.
Please add the reserve() method which would simply forward its
argument(s -- a variadic template-based forwarder perhaps?) to
m_events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions