[Python-Dev] Re: [Python-checkins] python/dist/src/Python ceval.c, 2.383, 2.384 (original) (raw)

Armin Rigo arigo at tunes.org
Sat Mar 20 16:57:48 EST 2004


Hello Raymond,

On Sat, Mar 20, 2004 at 04:14:58PM -0500, Raymond Hettinger wrote:

> A 2% speed improvement with gcc on low-endian machines. My guess is that this new pattern for NEXTARG() is detected and optimized as a single (*short) loading.

It is possible to verify that guess by looking at the generated assembler.

I was too hasty in checking this in. That guess is actually false.

The speed-up was due (as usual) to random changes in performance when anything around there changes, and cannot be reliably reproduced. I cancelled that change altogether.

Armin



More information about the Python-Dev mailing list