[issue46971] python takes long time when return big data

Hu Di report at bugs.python.org
Thu Mar 10 04:43:06 EST 2022


New submission from Hu Di <476658825 at qq.com>:

it takes a long time when python return big data.
generally, when a function return something, it only take less than 1e-5 second,
but when the result is big, like np.random.rand(2048,3,224,224), the time cost will increase to 0.1-0.2 second

----------
Added file: https://bugs.python.org/file50665/python_performance_issue.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46971>
_______________________________________


More information about the Python-bugs-list mailing list