Here's have an idea, which may save millions of bytes to golfers out there. But I'm not sure it's good.
- Take a language that's good for Golfing (e.g. Pyth).
- Take all existing CodeGolf answers in this language, and build a character frequency table.
- Build a Huffman tree based on this table.
- Create a new language, which is basically the same, except that the interpreter starts by Huffman-decoding the program, using this fixed tree.
Issues:
- Does it have a real saving potential? Intuitively I'd say that for 10 char programs it should save a byte or two.
- Is it nice to create a language that's 99% based on an existing language?
- Should we use 7-bit only?
- How will it affect the site? Won't answers in the new language be (even less) interesting than answers in the one it's based on?
Anyway, I'm too lazy to actually implement it. So if anyone wants to, feel free.