On Mon, Jun 30, 2008 at 18:32, Andrew Dalke <[EMAIL PROTECTED]> wrote:
> Why does numpy/__init__.py need to import all of these other modules
> and submodules?  Any chance of cutting down on the number, in order
> to improve startup costs?

Can you try the SVN trunk? In another thread (it must be "numpy
imports slowly!" week), David Cournapeau found some optimizations that
could be done that don't affect the API. They seem to cut down my
import times (on OS X) by about 1/3; on his Linux machine, it seems to
be more. I would be interested to know how significantly it improves
your use case.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to