[Numpy-discussion] slow import of numpy modules

Nathan Jensen Nathan_Jensen@raytheon....
Wed Jul 2 17:43:00 CDT 2008


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?


More information about the Numpy-discussion mailing list