Closed smazurchuk closed 8 months ago
Parallel solutions are treated differently. I can add numba but let's start with a single-threaded version. Is it enough to remove this line: @njit(parallel=True)
?
You can also send a PR. It can go in a folder called python3_with_numba
.
Thanks, it was added.
Interesting repo! Thanks for sharing.
Would you be open to a python implementation that uses the numba library? It is a popular library for those doing computationally intensive tasks with python. Using it requires the
cache
variable to be a global and immutable (e.g., a numpy array). This implementation runs in 28s on my machine, and is only a minor modification of your python3.10