Skip to content

Commit

Permalink
docs/develop/optimizations: Fix typo identified in issue 14391.
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Trentini <[email protected]>
  • Loading branch information
mattytrentini committed Apr 28, 2024
1 parent e60e807 commit b1ac266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/develop/optimizations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Variables
MicroPython processes local and global variables differently. Global variables
are stored and looked up from a global dictionary that is allocated on the heap
(note that each module has its own separate dict, so separate namespace).
Local variables on the other hand are are stored on the Python value stack, which may
Local variables on the other hand are stored on the Python value stack, which may
live on the C stack or on the heap. They are accessed directly by their offset
within the Python stack, which is more efficient than a global lookup in a dict.

Expand Down

0 comments on commit b1ac266

Please sign in to comment.