]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44990: Change layout of evaluation frames. "Layout B" (GH-27933)
authorMark Shannon <mark@hotpy.org>
Wed, 25 Aug 2021 12:44:20 +0000 (13:44 +0100)
committerGitHub <noreply@github.com>
Wed, 25 Aug 2021 12:44:20 +0000 (13:44 +0100)
commitf9242d50b18572ef0d584a1c815ed08d1a38e4f4
tree0c7c137c701b1dd69f89227dee85aaee95ff5dfb
parent214c2e5d916d3ce5e7b1db800210b93001850bbb
bpo-44990: Change layout of evaluation frames. "Layout B" (GH-27933)

Places the locals between the specials and stack. This is the more "natural" layout for a C struct, makes the code simpler and gives a slight speedup (~1%)
Include/internal/pycore_frame.h
Objects/frameobject.c
Objects/genobject.c
Objects/typeobject.c
Python/ceval.c
Python/frame.c
Python/pystate.c
Tools/gdb/libpython.py