Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #112103
| From | Sivan Greenberg <sivan@vitakka.co> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | usage of functools.partial in in parallelism |
| Date | 2016-07-31 00:15 +0300 |
| Message-ID | <mailman.61.1469913329.6033.python-list@python.org> (permalink) |
| References | <CAMB+yF1pKty0nRBL3ujsoshZAsi=nG+E5JBW=HT_mabhbiiekQ@mail.gmail.com> |
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 comp.lang.python | Previous | Next | Find similar | Unroll thread
usage of functools.partial in in parallelism Sivan Greenberg <sivan@vitakka.co> - 2016-07-31 00:15 +0300
csiph-web