mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
b2ee003329
We have a few cases where we're making an extra shared_ptr which we copy into a lambda, which then results in an extra unnecessary refcount decrement in the parent; this changes them to give an rvalue reference to the lambda to avoid the extra incr/decr instead. The one in Session::Pump is particularly noticeable and shows up in profiling. |
||
---|---|---|
.. | ||
iwp.cpp | ||
iwp.hpp | ||
linklayer.cpp | ||
linklayer.hpp | ||
message_buffer.cpp | ||
message_buffer.hpp | ||
session.cpp | ||
session.hpp |