Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d21d2f0

Browse files
gh-46845: clean up unused DK_IXSIZE (GH-96405)
1 parent 2eb9008 commit d21d2f0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Include/internal/pycore_dict.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,8 @@ struct _dictvalues {
141141
#define DK_LOG_SIZE(dk) ((dk)->dk_log2_size)
142142
#if SIZEOF_VOID_P > 4
143143
#define DK_SIZE(dk) (((int64_t)1)<<DK_LOG_SIZE(dk))
144-
#define DK_IXSIZE(dk) \
145-
(DK_LOG_SIZE(dk) <= 7 ? \
146-
1 : DK_LOG_SIZE(dk) <= 15 ? \
147-
2 : DK_LOG_SIZE(dk) <= 31 ? \
148-
4 : sizeof(int64_t))
149144
#else
150145
#define DK_SIZE(dk) (1<<DK_LOG_SIZE(dk))
151-
#define DK_IXSIZE(dk) \
152-
(DK_LOG_SIZE(dk) <= 7 ? \
153-
1 : DK_LOG_SIZE(dk) <= 15 ? \
154-
2 : sizeof(int32_t))
155146
#endif
156147
#define DK_ENTRIES(dk) \
157148
(assert((dk)->dk_kind == DICT_KEYS_GENERAL), \

0 commit comments

Comments
 (0)