Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #112103 > unrolled thread
| Started by | Sivan Greenberg <sivan@vitakka.co> |
|---|---|
| First post | 2016-07-31 00:15 +0300 |
| Last post | 2016-07-31 00:15 +0300 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
usage of functools.partial in in parallelism Sivan Greenberg <sivan@vitakka.co> - 2016-07-31 00:15 +0300
| From | Sivan Greenberg <sivan@vitakka.co> |
|---|---|
| Date | 2016-07-31 00:15 +0300 |
| Subject | usage of functools.partial in in parallelism |
| Message-ID | <mailman.61.1469913329.6033.python-list@python.org> |
Hi all, I'm wondering about the use of partial in writing parallel code. Is is it quicker than re-evaluating arguments for a multiple session.get()'s method with different , for example (of requests) ? Or maybe it is used to make sure the arguments differ per each invocation ? (the parallel invocation is supposedly using tasks / co-routine support in Python 3. I can't publish the code I spotted that in. What are ups and downs of using them when are they in context? -Sivan
Back to top | Article view | comp.lang.python
csiph-web