Comment Surprising (Score 1) 510
I always find the statement that most of the time is spent in just a small part of the code tricky. I am not sure it is even true for many programs. I wrote some software for http://aichallenge.org/ and found that very many somewhat intensive operations accumulate, which made the python version of my software prohibitively slow compared to a C++ version I wrote, with no easy single performance bottleneck to blame.