New submission from Kumar Aditya <rahuladitya...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue46608>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to