Skip to content

Commit aedbf4b

Browse files
rousonbonachea
authored andcommitted
doc: clarify that pure prevents most side effects
1 parent 3e74af3 commit aedbf4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Two common use cases include
5050

5151
### Producing output in pure procedures
5252
Writing pure procedures communicates useful information to a compiler or a developer.
53-
Specifically, the pure attribute conveys compliance with several constraints that clarify data dependencies and preclude side effects.
53+
Specifically, the pure attribute conveys compliance with several constraints that clarify data dependencies and preclude most side effects.
5454
For a compiler, these constraints support optimizations, including automatic parallelization on a central processing unit (CPU) or offloading to a graphics processing unit (GPU).
5555
For a developer, the constraints support refactoring tasks such as code movement.
5656

0 commit comments

Comments
 (0)