[Cython] char* and NULL in log statements

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jun 5 04:06:54 CEST 2008


Lisandro Dalcin wrote:
> Stefan, are you completelly sure that the performance implications of
> checking for NULL pointers is this case are noticeable enough as to do
> not follow the safe path?

Also keep in mind that this is only going to be done
when you're about to construct a Python string, which
is a fairly expensive operation.

-- 
Greg


More information about the Cython-dev mailing list