New submission from Guido van Rossum <gu...@python.org>:

I'm lining up some PRs (inspired by some of Mark Shannon's ideas) that add new 
opcodes which are straightforward combinations of existing opcodes. For 
example, ADD_INT is equivalent to LOAD_CONST + BINARY_ADD, for certain small 
(common) integer constants.

Each of these adds only a minor speedup, but after a dozen or so of these the 
speedup is (hopefully) significant enough to warrant the opcode churn.

----------
messages: 389939
nosy: Mark.Shannon, eric.snow, gvanrossum, pablogsal
priority: normal
severity: normal
status: open
title: Add combined opcodes
type: performance
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43684>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to