Closed robertwb closed 8 years ago
Reported by gfurnish on 2 Aug 2008 06:00 UTC Consider:
cdef bint foo if foo == True:
This generates a raw rich compare
cdef bint foo if foo==1:
This generates a C if statement. This minor problem causes a massive performance loss in inner loops.
Migrated-From: http://trac.cython.org/ticket/34
Comment by robertwb on 3 Aug 2008 01:57 UTC This has been resolved by http://hg.cython.org/cython-devel/rev/e73528b0abee
Modified by robertwb on 19 Aug 2008 04:35 UTC
Reported by gfurnish on 2 Aug 2008 06:00 UTC Consider:
This generates a raw rich compare
This generates a C if statement. This minor problem causes a massive performance loss in inner loops.
Migrated-From: http://trac.cython.org/ticket/34