[issue1492860] Integer bit operations performance improvement.

2009-04-29 Thread Mark Dickinson
Mark Dickinson added the comment: It looks like no-one sees this as a useful optimization; it seems even less useful now given that it's not applicable to Python 3.x. Closing. -- resolution: -> rejected status: open -> closed ___ Python tracker <

[issue1492860] Integer bit operations performance improvement.

2009-04-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think it's a good thing to special-case bitwise operations in the ceval loop. It will make the whole thing less instruction cache-friendly, just for the purpose of speeding up some very uncommon operations. -- nosy: +pitrou

[issue1492860] Integer bit operations performance improvement.

2009-04-28 Thread Daniel Diniz
Daniel Diniz added the comment: Mark: it was just my cluelessness showing :) -- dependencies: -long int bitwise ops speedup (patch included) ___ Python tracker ___ __

[issue1492860] Integer bit operations performance improvement.

2009-04-27 Thread Mark Dickinson
Mark Dickinson added the comment: I agree issue 1087418 is related, but why is it marked as a dependency for this issue? It seems to me that either of these feature requests could be implemented independently of the other: this one applies only to 2.x ints, while issue 1087418 applies only

[issue1492860] Integer bit operations performance improvement.

2009-04-25 Thread Daniel Diniz
Daniel Diniz added the comment: There's a related patch in issue 1087418. -- dependencies: +long int bitwise ops speedup (patch included) nosy: +ajaksu2 ___ Python tracker ___

[issue1492860] Integer bit operations performance improvement.

2009-03-21 Thread Mark Dickinson
Mark Dickinson added the comment: To see what Tim's talking about here, see the 'big switch' ("switch opcode") in function PyEval_EvalFrameEx in Python/ceval.c, and look at the "case BINARY_ADD" bit. Inlining the bitwise operators should be even easier, since there are no overflow worries.

[issue1492860] Integer bit operations performance improvement.

2009-03-21 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +marketdickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue1492860] Integer bit operations performance improvement.

2009-03-20 Thread Daniel Diniz
Changes by Daniel Diniz : -- stage: -> test needed versions: +Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list ma

[issue1492860] Integer bit operations performance improvement.

2008-03-16 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- type: feature request -> performance _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-