Message83937
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. (We do have to assume that C
longs are two's-complement with no trap representation, but
Objects/intobject.c does that already, so it's probably okay.)
This only applies to 'short' integers, so I don't think it's relevant for
Python 3.x. |
|
Date |
User |
Action |
Args |
2009-03-21 15:52:01 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, jafo |
2009-03-21 15:52:00 | mark.dickinson | set | messageid: <1237650720.67.0.789780977182.issue1492860@psf.upfronthosting.co.za> |
2009-03-21 15:51:59 | mark.dickinson | link | issue1492860 messages |
2009-03-21 15:51:58 | mark.dickinson | create | |
|