pyminify
pyminify copied to clipboard
Add an encoding which minimises the uses of chr using map
I added an option to use map in the encoding which minimizes the usage of chr in the generated code.
You can pass the option --use-map and it will use map in the encoding. The resulting code has no spaces and quote. When using the map encoding, the string "utf-8" is encoded with chr to avoid using any kind of quotes.