[Numpy-discussion] slow import of numpy modules

Nathan Jensen Nathan_Jensen at raytheon.com
Wed Jul 2 18:43:00 EDT 2008


Hi,

I was wondering if there was any way to speed up the global import of
numpy modules.  For a simple import numpy, it takes ~250 ms.  In
comparison, importing Numeric is only taking 40 ms.  It appears that
even if you only import a numpy submodule, it loads all the libraries,
resulting in the painful performance hit.  Are there plans to speed up
the importing of numpy, or at least have it not load libraries that
aren't requested?

Nathan





More information about the NumPy-Discussion mailing list