[issue46971] python takes long time when return big data

2022-03-10 Thread Hu Di
Hu Di <476658...@qq.com> added the comment: I am currently processing large data, and the time spent by del is unacceptable. Is there any way to process del in parallel? -- ___ Python tracker <https://bugs.python.org/i

[issue46971] python takes long time when return big data

2022-03-10 Thread Hu Di
Hu Di <476658...@qq.com> added the comment: thanks for your explaining, by the way, why it costs lots of time when del a large array? -- ___ Python tracker <https://bugs.python.org/i

[issue46971] python takes long time when return big data

2022-03-10 Thread Hu Di
New submission from Hu Di <476658...@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

[issue46971] python takes long time when return big data

2022-03-10 Thread Hu Di
Change by Hu Di <476658...@qq.com>: -- components: Interpreter Core nosy: HumberMe priority: normal severity: normal status: open title: python takes long time when return big data type: performance versions: Python 3.8 ___ Python tracker