Skip to content

Tag: gil

Do I need to use `nogil` in Cython

I have some Cython code that I’d like to run as quickly as possible. Do I need to release the GIL in order to do this? Let’s suppose my code is similar to this: I get a whole load of error messages from the np.zeros_like line similar to: Do I need to find a way of calling np.zeros_like without the