mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Install two code generation optimizations that depend on NOP.
Reduces the cost of "not" to almost zero.
This commit is contained in:
parent
2c9f889122
commit
9c18e81fb2
4 changed files with 35 additions and 3 deletions
|
|
@ -13,6 +13,7 @@ extern "C" {
|
|||
#define ROT_THREE 3
|
||||
#define DUP_TOP 4
|
||||
#define ROT_FOUR 5
|
||||
#define NOP 9
|
||||
|
||||
#define UNARY_POSITIVE 10
|
||||
#define UNARY_NEGATIVE 11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue