-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion #25
Comments
These are both good ideas! Currently python-minifier prefers to use newlines where possible instead of semicolons for readability, but I can see how a one-liner would be more useful. |
how about adding semicolons for the obfuscation, makes it harder for reverse engineering. this reduces the space further in indented blocks because semicolons reduce the requirement to indent in certain locations. |
@xcodz-dot Semicolons are already used in indented blocks. Newlines would only be used at the module level, where it makes no difference to the output size. |
This:
By default turns into:
But it could easily be more compact to save a few more bytes like so:
Also, please make an option to turn into a one-liner for all possible statements! (Separated by semicolons)
Edit to make my previous sentence clearer: although the output size wouldn't change, please add a "one-liner" option to separate statements by semicolons instead of newlines where possible
The text was updated successfully, but these errors were encountered: