[issue19087] bytearray front-slicing not optimized

Antoine Pitrou report at bugs.python.org
Mon Sep 30 22:04:47 CEST 2013


Antoine Pitrou added the comment:

> I don't understand why you avoid to show any examples which benefit.
> Shouldn't optimizing patches prove their efficient?

Many micro-optimizations get committed without proving themselves on a
high-level benchmark suite, as long as they produce a big enough
difference on micro-benchmarks. I think you have noticed that!

A 4x improvement on a micro-benchmark is very likely to make a
difference in at least some real-world code (while a 10% improvement
wouldn't).

----------

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


More information about the Python-bugs-list mailing list