[issue1087418] long int bitwise ops speedup (patch included)

2009-10-23 Thread Gregory Smith
Gregory Smith added the comment: Actually, my view for 3.x is this: I do agree hugely with the 'top level' decision to only have one type that handles everything, and obviously the easiest way to get there is to just use the existing long type. However, though the rad-2^15 implementat

[issue1087418] long int bitwise ops speedup (patch included)

2009-10-24 Thread Gregory Smith
Gregory Smith added the comment: Antoine, "most uses of it are for small ints (< 2**32 or 2**64), ", that's my point exactly, the current long type is quite slow for those cases because of sign-magnitude implementation. I don't see a problem with sign-magnitude for ol