[New-bugs-announce] [issue9225] Replace DUP_TOPX with DUP_TOP_TWO

Demur Rumed report at bugs.python.org
Sun Jul 11 20:49:41 CEST 2010

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

DUP_TOPX(3) is never used, nor is ROT_FOUR. This patch removes the opcodes, replacing DUP_TOPX with DUP_TOP_TWO

Oddly, at least with pybench, use of PREDICT(BINARY_SUBSCR) in DUP_TOP_TWO seems to show an always right PREDICT as slower than FAST_DISPATCH

components: Interpreter Core
files: duptoptwo.patch
keywords: patch
messages: 110035
nosy: serprex
priority: normal
severity: normal
status: open
title: Replace DUP_TOPX with DUP_TOP_TWO
type: performance
Added file: http://bugs.python.org/file17949/duptoptwo.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list