rmlong·2 anni fa·discussstd::shared_ptr definitely slows things down. It's non-intrusive therefore requires a memory indirection.