← Back to context

Comment by eli

12 years ago

Could something like GZIP mask a lot of that repetition?

Definitely, but at the cost of requiring more memory and processing power. If its goal is to be compact and lightweight I think it would be helpful to have something in protocol itself.

Looking at the spec though, it does allow numeric keys in maps so you could use id's and provide the definitions elsewhere.