Message293708
| Author | max |
|---|---|
| Recipients | bquinlan, ezio.melotti, josh.r, max |
| Date | 2017-05-15.12:05:27 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1494849927.28.0.030624705189.issue29842@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Correction: this PR is useful for `ProcessPoolExecutor` as well. I thought `chunksize` parameter handles infinite generators already, but I was wrong. And, as long as the number of items prefetched is a multiple of `chunksize`, there are no issues with the chunksize optimization either. And a minor correction: when listing the advantages of this PR, I should have said: "In addition, if the pool is not busy when `map` is called, your implementation will also be more responsive, since it will yield the first result earlier." |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-05-15 12:05:27 | max | set | recipients: + max, bquinlan, ezio.melotti, josh.r |
| 2017-05-15 12:05:27 | max | set | messageid: <1494849927.28.0.030624705189.issue29842@psf.upfronthosting.co.za> |
| 2017-05-15 12:05:27 | max | link | issue29842 messages |
| 2017-05-15 12:05:27 | max | create | |