mirror of
https://github.com/python/cpython
synced 2024-09-05 00:05:39 +00:00
Docs: fix spelling of the word 'transferring' (#116641)
This commit is contained in:
parent
cef0ec1a3c
commit
7af4b9f253
|
@ -52,7 +52,7 @@ ### JIT compiler
|
|||
These have identical behavior to interpreted executors, except that
|
||||
they consume more memory for the generated machine code and are a lot faster.
|
||||
|
||||
## Transfering control
|
||||
## Transferring control
|
||||
|
||||
There are three types of control transfer that we need to consider:
|
||||
* Tier 1 to tier 2
|
||||
|
@ -104,7 +104,7 @@ #### Handling reference counts
|
|||
#### The interpreter
|
||||
|
||||
The tier 2 interpreter has a variable `current_executor` which
|
||||
points to the currently live executor. When transfering from executor
|
||||
points to the currently live executor. When transferring from executor
|
||||
`A` to executor `B` we do the following:
|
||||
(Initially `current_executor` points to `A`, and the refcount of
|
||||
`A` is elevated by one)
|
||||
|
@ -122,7 +122,7 @@ #### The interpreter
|
|||
|
||||
#### In the JIT
|
||||
|
||||
Transfering control from one executor to another is done via tailcalls.
|
||||
Transferring control from one executor to another is done via tailcalls.
|
||||
|
||||
The compiled executor should do the same, except that there is no local
|
||||
variable `current_executor`.
|
||||
|
|
Loading…
Reference in a new issue