S
S
Sanya Hihi Haha2021-02-28 18:20:37
Building projects
Sanya Hihi Haha, 2021-02-28 18:20:37

How do pyinstaller comments work correctly?

Good day, citizens.

Sobsno the situation is this, I have a code in python, 3k + lines, I collect the whole thing through pyinstaller
And of course I have a lot of comments on the code there (for myself, to make it easier to navigate)
How strongly do comments affect the final weight and performance generally? (regardless of the build method, whether it's a window or a console)
Is it worth cleaning everything from comments before building?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-02-28
@soremix

How much do comments affect the final weight

1 character - 1 byte (do not forget that Cyrillic takes up to 2). We multiply and count.
It's strange to think about the impact of comments and file weight when building python in exe. It's like taking a steam bath for the weight of exe files in c #, which need an SDK for hundreds of meters to work.
In general - do not care for him, you can lose only when the code is initialized (and then pennies, of course), after it the comments are no longer taken into account.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question