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

Reply via email to