[Numpy-discussion] "import numpy" is slow

Robert Kern robert.kern at gmail.com
Fri Aug 1 18:28:48 EDT 2008


On Fri, Aug 1, 2008 at 17:22, Christopher Barker <Chris.Barker at noaa.gov> wrote:
> David Cournapeau wrote:
>>
>> IOW, I don't think the problem is the numbers themselves. It has to be
>> something else. A simple profiling like
>>
>> python -m cProfile -o foo.stats foo.py
>>
>> and then:
>>
>> python -c "import pstats; p = pstats.Stats("foo.stats");
>> p.sort_stats('cumulative').print_stats(50)"
>
> OK, see the results -- I think (though i may be wrong) this means that the
> problem isn't in finding the numpy package:

Can you send foo.stats, too?

-- 
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



More information about the NumPy-Discussion mailing list