[New-bugs-announce] [issue9155] Reserve COMPARE_OP for RichComparisons

Demur Rumed report at bugs.python.org
Sun Jul 4 21:54:01 CEST 2010


New submission from Demur Rumed <junkmute at hotmail.com>:

Currently, COMPARE_OP is burdened by a needless, and unorthogonal, extra layer of indirection. I've modified it to only handle the rich comparison case, moving the other five cases to BINARY_IN, BINARY_NOT_IN, BINARY_IS, BINARY_IS_NOT, and BINARY_EXC_MATCH

To consider is inlining the POP_JUMP_IF_FALSE POP_TOP which always follow BINARY_EXC_MATCH

----------
components: Interpreter Core
files: cmpoppatch.diff
keywords: patch
messages: 109259
nosy: serprex
priority: normal
severity: normal
status: open
title: Reserve COMPARE_OP for RichComparisons
type: performance
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file17855/cmpoppatch.diff

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


More information about the New-bugs-announce mailing list