[Python-Dev] tuple[int] optimization

Raymond Hettinger raymond.hettinger at gmail.com
Sun Jul 24 03:34:16 CEST 2011


On Jul 23, 2011, at 5:18 PM, Antoine Pitrou wrote:
> 
> My point is that on non-trivial benchmarks, the savings are almost zero.

That could be said of any optimization in Python.
Typical Python scripts exercise many features at time,
so any one optimization by itself if almost useless.
Collectively however, we've gotten nice speed-ups on real programs.

Raymond


More information about the Python-Dev mailing list