Parallelizing a Numpy vector operation
There is a better way: numexpr Slightly reworded from their main page: It’s a multi-threaded VM written in C that analyzes expressions, rewrites them more efficiently, and compiles them on the fly into code that gets near optimal parallel performance for both memory and cpu bounded operations. For example, in my 4 core machine, evaluating … Read more