Numpy running at half the speed of MATLAB
问题 I've been porting MATLAB code over to Python and, after quite a lot of work, I have stuff that works. The downside, however, is that Python is running my code more slowly than MATLAB did. I understand that using optimised ATLAS libraries will speed things up, but actually implementing this is confusing me. Here's what's going on: I start an ipython session with no BLAS installed: import numpy.distutils.system_info as sysinfo import time In [11]: sysinfo.get_info('atlas') Out[11]: {} timeit(