Message293420
IIUC, the meaning of executor.map() is to run the tasks concurrently. So you have to loop the iterable ahead to submit all the tasks. If you make it a generator comprehension, you are actually submitting a task and then getting the result. So you are executing the tasks sequentially. Doesn't it violate the intention and meaning of executor.map()? |
|
| Date |
User |
Action |
Args |
| 2017-05-10 14:30:20 | xiang.zhang | set | recipients:
+ xiang.zhang, Klamann |
| 2017-05-10 14:30:20 | xiang.zhang | set | messageid: <[email protected]> |
| 2017-05-10 14:30:20 | xiang.zhang | link | issue30323 messages |
| 2017-05-10 14:30:20 | xiang.zhang | create | |
|