[issue10648] Extend peepholer to reverse loads or stores instead of build/unpack

2011-01-08 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10648] Extend peepholer to reverse loads or stores instead of build/unpack

2010-12-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. I had looked at this long ago when I first added the ROT2 optimization and the ROT3/ROT2 optimization. It wasn't included because it wasn't worth the added complexity in the peepholer logic and because there were concerns about exec

[issue10648] Extend peepholer to reverse loads or stores instead of build/unpack

2010-12-07 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger priority: normal -> low versions: +Python 3.3 -Python 3.2 ___ Python tracker ___

[issue10648] Extend peepholer to reverse loads or stores instead of build/unpack

2010-12-07 Thread Demur Rumed
New submission from Demur Rumed : 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 ahe