Re:C++ Attribute: Likely, Unlikely
by bluGill on Sunday October 22, 2023 @12:17PM
(#37976678)
Sometimes the important performance critical path is the one least taken. You can't profile because the profiler has no way to know you don't care about the common path.
In general the profiler is a better tool, but there are rare exceptions and if those apply to you c++ gives you the control you need.
In general the profiler is a better tool, but there are rare exceptions and if those apply to you c++ gives you the control you need.