7 May
2010
7 May
'10
10:34 a.m.
On Fri, May 7, 2010 at 10:50 AM, Xavier Ho
On Fri, May 7, 2010 at 7:43 PM, Mark Dickinson
wrote: e = e >= 0 ? e % _PyHASH_BITS : _PyHASH_BITS-1-((-1-e) % _PyHASH_BITS);
Wow. I would never write code like that, but you got a fair point.
Yes, sorry. I didn't claim it was *good* code. :) It would probably be better expressed as a macro, or as a function with the expectation that the compiler would inline it. Mark