That would indeed make a great follow-up video! I have an example in the works that could be retooled to work this way. (It should be possible to just get a raw pointer to the array and use that, but some details about how to integrate specifically with NumPy would probably help everyone.) -Serdar
Why do you use the nogil in the non parallel version?
would love to see how to make cython parallelism work on numpy arrays!
That would indeed make a great follow-up video! I have an example in the works that could be retooled to work this way. (It should be possible to just get a raw pointer to the array and use that, but some details about how to integrate specifically with NumPy would probably help everyone.)
-Serdar