Hacker News new | ask | show | jobs
by leni536 3682 days ago
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.
1 comments

I'm not sure. I don't program in C++ because I want it to have performance comparable to other languages.