rmlong·2 年前·議論std::shared_ptr definitely slows things down. It's non-intrusive therefore requires a memory indirection.