Program uses twice as much memory in Python 3.6 than in Python 3.5

Jan Gosmann jan at hyper-world.de
Tue Mar 28 11:07:53 EDT 2017


On 28 Mar 2017, at 3:08, Peter Otten wrote:

> Perhaps numpy's default integer type has changed (assuming you are using
> integer arrays, I did look at, but not into your code)?
>
> You could compare
>
>>>> numpy.array([42]).itemsize
> 8
>
> for the two interpreters.

Both report 8 for integer and float point arrays.


More information about the Python-list mailing list