David Cournapeau wrote:

It is often claimed that optimization should be done after having
found the hotspot, but that does not always apply

It's more that if you *do* have a hotspot, you had better
find it and direct your efforts there first. E.g. if there is
a hotspot taking 99% of the time, then optimising elsewhere
can't possibly improve the overall time by more than 1% at
the very most.

Once there are no hotspots left, then there may be further
spread-out savings to be made.

--
Greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to