Closed. This question needs
I don't want to claim nonsense like "unique_ptr
is faster than raw pointer".
Clearly I have missed some point here, does this ring a bell to anyone?
Thanks in advance.
CodePudding user response:
Is unique_ptr faster than row pointer?
No.
how is this possible?
Benchmarking is difficult. It is possible to measure differences that are caused by incidental differences in memory layout.