Why is numpy.zeros very slow to allocate medium or large arrays?

后端 未结 0 1566
耶瑟儿~
耶瑟儿~ 2020-12-30 08:48

I am running Python 3.8 on a 2020 core-i9 macbook Pro with 64GB of RAM.

Following kind of says it all.

In [21]: import timeit; timeit.timeit(s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题