Replies: 4 comments
-
What usually makes a frozen program slow is putting the packages in the zip. I think the eval itself must be slow. |
Beta Was this translation helpful? Give feedback.
-
While trying to reduce amount of code for a testing example I could enclose the problem even more. To demonstrate I created a small test: import inspect def subsub(n: int): def sub(n: int): for i in range(10): And setup.py: from cx_Freeze import setup, Executable |
Beta Was this translation helpful? Give feedback.
-
While trying to reduce amount of code for a testing example I could enclose the problem even more. To demonstrate I created a small test: import inspect def subsub(n: int): def sub(n: int): for i in range(10): And setup.py: from cx_Freeze import setup, Executable |
Beta Was this translation helpful? Give feedback.
-
While trying to reduce amount of code for a testing example I could enclose the problem even more. To demonstrate I created a small test: import inspect def subsub(n: int): def sub(n: int): for i in range(10): And setup.py: from cx_Freeze import setup, Executable |
Beta Was this translation helpful? Give feedback.
-
I created an app that is using eval() for deserialization. Unfortunately, the freezed program takes 6-10 x more time to execute
eval() statements than the unfreezed which makes the start of my app quite painful. Any idea why that happens and how to fix?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions