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.

classification
Title: Deepfreeze use preallocated small ints
Type: Stage: resolved
Components: Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, kumaraditya
Priority: normal Keywords:

Created on 2022-01-20 05:22 by kumaraditya, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30715 merged kumaraditya, 2022-01-20 05:22
Messages (2)
msg411002 - (view) Author: Kumar Aditya (kumaraditya) * (Python triager) Date: 2022-01-20 05:25
It saves space in the codeobjects created by deepfreeze and reuses already cached ints so no allocation overhead.
msg411004 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2022-01-20 06:13
New changeset 194ecc6d44adc1fb39a56ca696418368b69432ce by Kumar Aditya in branch 'main':
bpo-46443: deepfreeze: use small ints and singleton zero bytes (GH-30715)
https://github.com/python/cpython/commit/194ecc6d44adc1fb39a56ca696418368b69432ce
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90601
2022-01-20 06:41:08kumaradityasetstatus: open -> closed
resolution: fixed
stage: resolved
2022-01-20 06:13:37gvanrossumsetmessages: + msg411004
2022-01-20 05:25:29kumaradityasetmessages: + msg411002
2022-01-20 05:22:50kumaradityacreate