[Numpy-discussion] "import numpy" is slow
Tue Jul 1 05:24:13 CDT 2008
IIRC, il you do import numpy.core as numpy, it starts by importing
numpy, so it will be even slower.
2008/7/1 Hanni Ali <email@example.com>:
> Would it not be possible to import just the necessary module of numpy to
> meet the necessary functionality of your application.
> import numpy.core
> or whatever you're using
> you could even do:
> import numpy.core as numpy
> I think, to simplify your code, I'm no expert though.
> 2008/7/1 Andrew Dalke <firstname.lastname@example.org>:
>> On Jul 1, 2008, at 2:22 AM, Robert Kern wrote:
>> > Your use case isn't so typical and so suffers on the import time
>> > end of the
>> > balance.
>> I'm working on my presentation for EuroSciPy. "Isn't so typical"
>> seems to be a good summary of my first slide. :)
>> >> Any chance of cutting down on the number, in order
>> >> to improve startup costs?
>> > Not at this point in time, no. That would break too much code.
>> Thanks for the response,
>> Numpy-discussion mailing list
> Numpy-discussion mailing list
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
More information about the Numpy-discussion