mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +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. |
||
---|---|---|
.. | ||
context.cpp | ||
context.hpp | ||
endpoint.cpp | ||
endpoint.hpp | ||
exit_messages.cpp | ||
exit_messages.hpp | ||
policy.cpp | ||
policy.hpp | ||
session.cpp | ||
session.hpp |