This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tomkpz
Recipients tomkpz
Date 2021-01-13.01:54:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610502849.77.0.30833881241.issue42917@roundup.psfhosted.org>
In-reply-to
Content
Currently the block stack size is hardcoded to 20.  Similar to how the value stack is dynamically sizable, we should make the block stack dynamically sizable.  This will reduce space on average (since the typical number of blocks for a function is well below 20) and allow code generators to generate code with more deep nesting.  Note: the motivation is not necessarily to reduce memory usage, but to make L1 cache misses less likely for stack objects.
History
Date User Action Args
2021-01-13 01:54:09tomkpzsetrecipients: + tomkpz
2021-01-13 01:54:09tomkpzsetmessageid: <1610502849.77.0.30833881241.issue42917@roundup.psfhosted.org>
2021-01-13 01:54:09tomkpzlinkissue42917 messages
2021-01-13 01:54:09tomkpzcreate