Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #112103 > unrolled thread

usage of functools.partial in in parallelism

Started bySivan Greenberg <sivan@vitakka.co>
First post2016-07-31 00:15 +0300
Last post2016-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.


Contents

  usage of functools.partial in in parallelism Sivan Greenberg <sivan@vitakka.co> - 2016-07-31 00:15 +0300

#112103 — usage of functools.partial in in parallelism

FromSivan Greenberg <sivan@vitakka.co>
Date2016-07-31 00:15 +0300
Subjectusage 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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web