3 ms·
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.
by leni536 10y 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.
- thrownaway2424 10y agoI'm not sure. I don't program in C++ because I want it to have performance comparable to other languages.