New submission from Demur Rumed <junkm...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9225>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to