Skip to content

Commit 728d242

Browse files
committed
Address review: keep _PyLoadMethodCache and cache sizes unchanged.
1 parent 0badb77 commit 728d242

10 files changed

Lines changed: 1567 additions & 1523 deletions

File tree

Include/internal/pycore_code.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ typedef struct {
108108
typedef struct {
109109
_Py_BackoffCounter counter;
110110
uint16_t type_version[2];
111-
uint16_t value_offset;
112111
union {
113112
uint16_t keys_version[2];
114113
uint16_t dict_offset;
@@ -125,7 +124,7 @@ typedef struct {
125124
typedef struct {
126125
_Py_BackoffCounter counter;
127126
uint16_t version[2];
128-
uint16_t value_offset;
127+
uint16_t validity_offset;
129128
uint16_t index;
130129
} _PyLoadAttrInstanceValueCache;
131130

Include/internal/pycore_opcode_metadata.h

Lines changed: 17 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)