5 ms·
As many as you can? No. LZW compression tries to remove as many bytes as possible from text, but it does not help readability. I know, you wouldn't LZW compr
by AnimalMuppet 9y ago
As many as you can? No.
LZW compression tries to remove as many bytes as possible from text, but it does not help readability. I know, you wouldn't LZW compress the source and then try to compile it. You can move in that direction, though, if you try to shorten the source too much.
Remove needless duplication. Remove lines where it improves clarity or structure. Absolute shortest source code is not a worthwhile goal.