[New-bugs-announce] [issue46471] use global singletons for single byte bytes objects in deepfreeze

Kumar Aditya report at bugs.python.org
Sat Jan 22 06:04:42 EST 2022


New submission from Kumar Aditya <rahuladitya303 at gmail.com>:

By using global singletons for single byte bytes objects in deepfreeze, there is no need to generate c code for it so it reduces the size of generated c file and reduces memory use of the objects when they are allocated on the heap as now they are statically allocated and they are already immortal.

----------
components: Build
messages: 411245
nosy: gvanrossum, kumaraditya303
priority: normal
severity: normal
status: open
title: use global singletons for single byte bytes objects in deepfreeze
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46471>
_______________________________________


More information about the New-bugs-announce mailing list