在 Python 中将多个线程的结果收集到列表中的最有效方法是什么?

问题描述 投票:0回答:0

我需要并行化一些 IObound 任务,它们都会返回结果。

我想知道什么是最有效和最优雅的方法。

python python-3.x multithreading concurrent.futures
© www.soinside.com 2019 - 2024. All rights reserved.