lokinet/llarp/exit
Jason Rhinelander b2ee003329 Optimization: eliminate unneeded shared_ptrs
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.
2021-11-15 18:32:03 -04:00
..
context.cpp rpc endpoint for triggering quic tunnel 2021-04-19 06:58:37 -04:00
context.hpp rpc endpoint for triggering quic tunnel 2021-04-19 06:58:37 -04:00
endpoint.cpp formatting 2021-04-19 07:02:45 -04:00
endpoint.hpp try fixing deadlock 2021-04-19 07:02:45 -04:00
exit_messages.cpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
exit_messages.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
policy.cpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
policy.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
session.cpp Optimization: eliminate unneeded shared_ptrs 2021-11-15 18:32:03 -04:00
session.hpp use weak_ptr on a path to reference its parent pathset instead of a bare pointer so crashes dont happen 2021-06-08 14:36:32 -04:00