We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 931dbe3 commit f324162Copy full SHA for f324162
1 file changed
docs/day4/parallel.rst
@@ -490,7 +490,8 @@ Exercises
490
and second a parallel version of it. To see the effects of your parallel implementation, you can run the summation up to ``n=1e8``.
491
492
.. hint::
493
-
+ :class: dropdown
494
+
495
Use shared arrays of multiprocessing package to store the partial summations from each process:
496
497
.. code-block:: python
@@ -506,7 +507,8 @@ Exercises
506
507
can be accessed by each process through the ``processindex`` variable.
508
509
.. solution:: Solution
510
511
512
513
514
import sys
0 commit comments