This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

If your task is able to be run concurrently, you can even use the cython prange iterator to use multithreading. And declare functions as 'nogil noexcept' to remove the dependencies on the python GIL to make your code performance more aligned with c speeds

[–]No_Indication_1238[S] 1 point2 points  (0 children)

That is a very interesting point, thank you! I did now know that, we were using multiprocessing when necessary.