diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2026-10-22-14-45-00.gh-issue-160245.mEmO24.rst b/Misc/NEWS.d/next/Core_and_Builtins/2026-10-22-14-45-00.gh-issue-160245.mEmO24.rst new file mode 100644 index 00000000000000..f62d937f556caa --- /dev/null +++ b/Misc/NEWS.d/next/Core_and_Builtins/2026-10-22-14-45-00.gh-issue-160245.mEmO24.rst @@ -0,0 +1,2 @@ +Reduce the size of parser memo entries on 64-bit platforms by reordering +fields to remove padding. Patch by Shamil Abdulaev. diff --git a/Parser/pegen.h b/Parser/pegen.h index 44f99310132839..95ad2c9b7c0a84 100644 --- a/Parser/pegen.h +++ b/Parser/pegen.h @@ -31,8 +31,8 @@ typedef struct _memo { int type; - void *node; int mark; + void *node; struct _memo *next; } Memo;