Comment Comment by leni536 How does this compare to the cost of a closure in other languages? Yeah atomic reference counts are not cheap, but basically that's the point of a shared_ptr. parent leni536 10 years ago