|
|
|
|
|
by olavk
6512 days ago
|
|
XML have redundancy by design. It's a deliberate trade-off to make it easier to read and write by hand, at the cost of size. If message size is an issue then gzip the data. Or if you have very specific needs for processing speed, look into something like Googles protocol buffers. You are optimizing at the wrong level if you are concerned about a few extra characters in a human-readable data exchange format. |
|
Case in point:
vs: Perhaps the real problem is that too many people use terrible text editors. Paren-matching and auto-indentation makes writing S-expressions orders of magnitude easier, and at least a constant factor easier than writing XML.