Open
Description
Issue description
https://github.com/zeromq/libzmq/blob/master/src/timers.hpp#L70
Using insert
to add key-value pairs to this _timers std::multimap
container may cause unnecessary copying or moving.
Using emplace
instead of insert
can construct objects inside the container, thus avoiding unnecessary copying or moving.
Metadata
Metadata
Assignees
Labels
No labels