是否有类似于 pools.starmap 的函数可以与字典列表一起使用?
代替 : pools.starmap(func, iterable_of_tuple)
pools.starmap(func, iterable_of_tuple)
你将会拥有: pools.starmapdict(func, iterable_of_dictionaries)
pools.starmapdict(func, iterable_of_dictionaries)
这样函数 starmapdict 将负责解包函数的参数字典。
python multiprocessing
multiprocessing ×1
python ×1