Allocate intermediate multidimensional arrays in Cython without acquiring the GIL Allocate intermediate multidimensional arrays in Cython without acquiring the GIL numpy numpy