# HG changeset patch # User paulb # Date 1189900969 0 # Node ID 77f3347f8be91f6b68e1725bb0b8fdaa2417ec63 # Parent bc8b83491bda719eee510f5b6702672573462d09 [project @ 2007-09-16 00:02:49 by paulb] Added a table of conversions and features used. diff -r bc8b83491bda -r 77f3347f8be9 docs/tutorial.xhtml --- a/docs/tutorial.xhtml Sun Sep 16 00:02:34 2007 +0000 +++ b/docs/tutorial.xhtml Sun Sep 16 00:02:49 2007 +0000 @@ -188,7 +188,7 @@ print "Time taken:", time.time() - t
(This code in context with import
statements and functions is
-found in the examples/simple_manage_map.py
file.)
examples/simple_managed_map.py
file.)
The principal changes in the above code involve the use of a
pprocess.Map
object to collect the results, and a version of the
@@ -525,5 +525,50 @@
the results in the same order as the initiation of the computations which
produced them.
The following table indicates the features used in converting one +sequential example program to another parallel program:
+ +Sequential Example | +Parallel Example | +Features Used | +
---|---|---|
simple_map | +simple_pmap | +pmap | +
simple1 | +simple_managed_map | +Map, manage | +
simple2 | +simple_managed_queue | +Queue, manage | +
simple_managed | +Exchange (subclass), manage, finish | +|
simple_start | +Channel, Exchange (subclass), start, finish | +|
simple | +simple_create_map | +Channel, Map, create, exit | +