Skip to content

Commit cd6e59a

Browse files
authored
Correct distributed typos
1 parent f74d625 commit cd6e59a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

optimizing/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,9 @@ Some widely used parallel programming packages like [LoopVectorization.jl](https
372372

373373
### Distributed computing
374374

375-
Julia's multiprocessing and distributed relies on the standard library `Distributed`.
376-
The main difference with multi-threading is that data isn't shared between worker processes.
377-
Once Julia is started, processes can be added with `addprocs`, and their can be queried with `nworkers`.
375+
Julia's multiprocessing and distributed computing relies on the standard library `Distributed`.
376+
The main difference compared to multi-threading is that data isn't shared between worker processes.
377+
Once Julia is started, processes can be added with `addprocs`, and they can be queried with `nworkers`.
378378

379379
The macro `Distributed.@distributed` is a _syntactic_ equivalent for `Threads.@threads`.
380380
Hence, we can use `@distributed` to parallelise a for loop as before, but we have to additionally deal with sharing and recombining the `results` array.

0 commit comments

Comments
 (0)