[issue21100] Micro-optimization for tuple comparison

2014-03-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 16fd3f4c9128 by Raymond Hettinger in branch 'default': Issue 21100: Amazingly, tuple lexicographic ordering was untested. http://hg.python.org/cpython/rev/16fd3f4c9128 -- nosy: +python-dev ___ Python trac

[issue21100] Micro-optimization for tuple comparison

2014-03-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue21100] Micro-optimization for tuple comparison

2014-03-30 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21100] Micro-optimization for tuple comparison

2014-03-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21100] Micro-optimization for tuple comparison

2014-03-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- Removed message: http://bugs.python.org/msg215179 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21100] Micro-optimization for tuple comparison

2014-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This patch breaks lexicographic ordering of tuples: (1, 2) < (1, 2, 0) < (1, 3) -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue21100] Micro-optimization for tuple comparison

2014-03-29 Thread Raymond Hettinger
New submission from Raymond Hettinger: The tuple comparison code contains an outdated comment to the effect that testing unequal lengths for an early-out may not be worth it because it is an uncommon case in real code. While the unequal length case remains rare, the common case code (added whe