[New-bugs-announce] [issue10648] Extend peepholer to reverse loads or stores instead of build/unpack

Demur Rumed report at bugs.python.org
Wed Dec 8 02:25:51 CET 2010


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

This modifies the peepholer's BUILD/UNPACK_SEQUENCE for the case when all stores are simple, or all loads are simple

It first scans to see if the pushing is done with simple LOADs. If so, it reverses the loads and removes the build unpack. If not, it scans ahead to see if it is followed by simple STOREs. If so, it reverses the stores and removes the build unpack

----------
components: Interpreter Core
files: peep.diff
keywords: patch
messages: 123588
nosy: serprex
priority: normal
severity: normal
status: open
title: Extend peepholer to reverse loads or stores instead of build/unpack
type: performance
versions: Python 3.2
Added file: http://bugs.python.org/file19974/peep.diff

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


More information about the New-bugs-announce mailing list