Another object -> bint optimization.
authorRobert Bradshaw <robertwb@math.washington.edu>
Tue, 16 Mar 2010 19:23:55 +0000 (12:23 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Tue, 16 Mar 2010 19:23:55 +0000 (12:23 -0700)
commit0bc3d7b7b1d544ddad5c5cc73d270d6dfe41a93b
treeaff65d756fa4fd0e34deb2628949f1f641690ffc
parent7e10fc771bb3c75a567eb986a3d497cf613d7ef9
Another object -> bint optimization.

__Pyx_PyObject_IsTrue now has only a single branch, even at -O0.
(The bitwise | is intentional.) This is only a 2.5% or so speedup
in my microbenchmarks, but it's something.
Cython/Compiler/PyrexTypes.py