manga-image-translator
manga-image-translator copied to clipboard
[Bug]: Project imports are loading very long
Issue
Before actually executing the project python loads for 2.5 seconds, before even starting to execute. When compiling to pyc its only 1.5 seconds. That seems very slow. I dont know if there is acually an issue or if the project is just getting to big. Im not that familiar with python, but i think imports can be lazyloaded. Im not sure if there is something similar to the feature tag in rust, so only the parts of the code i want to use are acually enabled.
Possible solution
Pyoxidizer improves the import speed, but the project would need to be compiled into an executable. Is it too early for that? I only know it from embeding python code into rust, but it should fairly easy to compile(also cross-platform)
@thatDudo that was just one part of optimization. Could you reopen it?
It did it automatically because of the pr name
It did it automatically because of the pr name
听不懂你说什么,我这边可以运行