[issue45661] [meta] Freeze commonly used stdlib modules.

Kumar Aditya report at bugs.python.org
Fri Jan 7 06:15:46 EST 2022


Kumar Aditya <rahuladitya303 at gmail.com> added the comment:

Can you elaborate a bit about "This can have negative affects for performance" as I think freezing modules has only one downside of increasing binary size ?

> For WASM builds we want to make the wasm binary as small as possible.

If WASM would become an officially supported platform then there can be a patch to disable freezing on such platforms otherwise I don't see how because of WASM we cannot deepfreeze for other platforms which benefit from it.

----------

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


More information about the Python-bugs-list mailing list