Skip to content

Commit b534fc3

Browse files
committed
chore(docs): fix install section in docs
1 parent 0a1399c commit b534fc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/fundamentals/documentarray/parallelization.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ By default, parallelization is conducted with `thread` backend, i.e. multi-threa
6969
```{admonition} When to choose process or thread backend?
7070
:class: important
7171
72-
It depends on how your `func` in `.apply(func)` look like:
72+
It depends on how your `func` in `.apply(func)` look like, here are some tips:
7373
- First, if you want `func` to modify elements inplace, the you can only use `thread` backend. With `process` backend you can only rely on the return values of `.map()`, the modification happens inside `func` is lost.
7474
- Second, follow what people often suggests: IO-bound `func` uses `thread`, CPU-bound `func` uses `process`.
75+
- Last, ignore the second rule and what people told you. Test it by yourself and use whatever faster.
7576
```

0 commit comments

Comments
 (0)