[issue21988] Decrease iterating overhead in timeit

Tim Peters report at bugs.python.org
Thu Jul 17 05:10:49 CEST 2014


Tim Peters added the comment:

I'm afraid "microoptimizations" aren't worth measuring to begin with, since, well, they're "micro" ;-)  Seriously, switch compilers, compilation flags, or move to a new release of a single compiler, and a micro-optimization often turns into a micro-pessimization.  If I _want_ to measure something unrolled, I'll unroll it myself.  But since I almost never want to measure something unrolled anyway, an option to do so would just be "yet another attractive nuisance" to me.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21988>
_______________________________________


More information about the Python-bugs-list mailing list