[issue46608] Exclude marshalled-frozen data if deep-freezing to save 300 KB space

Kumar Aditya report at bugs.python.org
Wed Feb 2 04:08:27 EST 2022


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

This reduces the size of the data segment by 300 KB of the executable because if the modules are deep-frozen then the marshalled frozen data just wastes space. This was inspired by comment by @gvanrossum in #29118 (comment). Note: There is a new option `--deepfreeze-only` in freeze_modules.py to change this behavior, it is on be default to save disk space.

# du -s ./python before
27892   ./python
# du -s ./python after
27524   ./python

----------
components: Build
messages: 412346
nosy: gvanrossum, kumaraditya303
priority: normal
severity: normal
status: open
title: Exclude marshalled-frozen data if deep-freezing to save 300 KB space
versions: Python 3.11

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


More information about the Python-bugs-list mailing list