Skip to content

Commit

Permalink
update threaded docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Oct 8, 2023
1 parent 73101f5 commit 28406e6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/methods/shared_docstrings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ const SHAPE_KEYWORDS = """
"""

const THREADED_KEYWORD = """
- `threaded`: run operations in parallel. `false` by default. In some circumstances `threaded`
can give large speedups over single threaded operation. But with very large rasters threading
may be counter productive due to excessing memory use. Caution should also be used: `threaded`
should not be used in in-place functions wrinting to `BitArray` or other arrays where race
conditions can occur.
- `threaded`: run operations in parallel, `false` by default. In some circumstances `threaded`
can give large speedups over single-threaded operation. This can be true for complicated
geometries written into low-resolution rasters, but may not be for simple geometries with
high-resolution rasters. With very large rasters threading may be counter productive due
to excessing memory use. Caution should also be used: `threaded` should not be used in in-place
functions wrinting to `BitArray` or other arrays where race conditions can occur.
"""

const GEOM_KEYWORDS = """
Expand Down

0 comments on commit 28406e6

Please sign in to comment.