lokinet/llarp/iwp
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
..
iwp.cpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
iwp.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
linklayer.cpp Fix link layer delivery race condition (fix random ping delays) 2021-11-15 13:36:28 -04:00
linklayer.hpp Fix link layer delivery race condition (fix random ping delays) 2021-11-15 13:36:28 -04:00
message_buffer.cpp Revert "tweak timeout parameters for link layer." 2021-04-19 07:02:44 -04:00
message_buffer.hpp Revert "tweak timeout parameters for link layer." 2021-04-19 07:02:44 -04:00
session.cpp Optimization: eliminate unneeded shared_ptrs 2021-11-15 18:32:03 -04:00
session.hpp Fix link layer delivery race condition (fix random ping delays) 2021-11-15 13:36:28 -04:00