Interpreting profiler log for STL based code
问题 I did a generalization a an algorithm implementation. Now, the new implementation runs more than 100 times slower than the old one. My guess is that the source unnecessary use of inefficiency is implicit copy constructors that I somehow introduced. I tried to profile the code, but I get a lot of data that I do not understand. Do I really need to know STL internals to be able to profile STL based code? Snippet of the flat profile: Flat profile: Each sample counts as 0.01 seconds. % cumulative