在决定从current.futures在ThreadPoolExecutor中将max_workers设置为什么时,应考虑哪些因素?
只要您可以期望Python 3.5+可用,是否有任何理由不将max_workers设置为None,然后将“默认设置为计算机上的处理器数量乘以5”,如此处的文档所述? https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.ThreadPoolExecutor
python python-3.x concurrent.futures
concurrent.futures ×1
python ×1
python-3.x ×1