You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
3 years ago
..
context.cpp rpc endpoint for triggering quic tunnel 3 years ago
context.hpp rpc endpoint for triggering quic tunnel 3 years ago
endpoint.cpp formatting 3 years ago
endpoint.hpp try fixing deadlock 3 years ago
exit_messages.cpp standardize include format and pragma once 3 years ago
exit_messages.hpp standardize include format and pragma once 3 years ago
policy.cpp standardize include format and pragma once 3 years ago
policy.hpp standardize include format and pragma once 3 years ago
session.cpp Optimization: eliminate unneeded shared_ptrs 3 years ago
session.hpp use weak_ptr on a path to reference its parent pathset instead of a bare pointer so crashes dont happen 3 years ago