diff options
| author | Damien George <damien@micropython.org> | 2023-03-08 14:10:02 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-04-27 18:03:06 +1000 |
| commit | b1229efbd1509654dec6053865ab828d769e29db (patch) | |
| tree | e1a65606dd1f0a8cfe2af08f9c4ff821fb575b02 /docs/reference/constrained.rst | |
| parent | e160fe7bc64212a3ce56f5478f208e2b4d343a8b (diff) | |
all: Fix spelling mistakes based on codespell check.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/reference/constrained.rst')
| -rw-r--r-- | docs/reference/constrained.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/constrained.rst b/docs/reference/constrained.rst index 2bcf9f7fb..59c375159 100644 --- a/docs/reference/constrained.rst +++ b/docs/reference/constrained.rst @@ -264,7 +264,7 @@ were a string. **Runtime compiler execution** -The Python funcitons `eval` and `exec` invoke the compiler at runtime, which +The Python functions `eval` and `exec` invoke the compiler at runtime, which requires significant amounts of RAM. Note that the ``pickle`` library from `micropython-lib` employs `exec`. It may be more RAM efficient to use the `json` library for object serialisation. @@ -403,7 +403,7 @@ Control of garbage collection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A GC can be demanded at any time by issuing `gc.collect()`. It is advantageous -to do this at intervals, firstly to pre-empt fragmentation and secondly for +to do this at intervals, firstly to preempt fragmentation and secondly for performance. A GC can take several milliseconds but is quicker when there is little work to do (about 1ms on the Pyboard). An explicit call can minimise that delay while ensuring it occurs at points in the program when it is acceptable. |
