On 23 May 2013 04:09, Michael Hudson-Doyle wrote:
> Mans Rullgard writes:
>
>> If you need to disable CSE for part of the code, you might want to try
>> your luck with __attribute__((optimize("no-gcse"))) on the relevant
>> functions.
>>
>>> I'd also be interested if you think this class of optim
Mans Rullgard writes:
> On 22 May 2013 05:13, Michael Hudson-Doyle
> wrote:
>> Hi all,
>>
>> I've spent a little while porting an optimization from Python 3 to
>> Python 2.7 (http://bugs.python.org/issue4753). The idea of the patch is
>> to improve performance by dispatching opcodes on compute
On 22 May 2013 05:13, Michael Hudson-Doyle wrote:
> Hi all,
>
> I've spent a little while porting an optimization from Python 3 to
> Python 2.7 (http://bugs.python.org/issue4753). The idea of the patch is
> to improve performance by dispatching opcodes on computed labels rather
> than a big switc
Hi all,
I've spent a little while porting an optimization from Python 3 to
Python 2.7 (http://bugs.python.org/issue4753). The idea of the patch is
to improve performance by dispatching opcodes on computed labels rather
than a big switch -- and so confusing the branch predictor less.
The problem