Comment by slavio
12 years ago
I agree. I think CBOR trades off a bit too much efficiency of in-place data access for compactness of representation.
12 years ago
I agree. I think CBOR trades off a bit too much efficiency of in-place data access for compactness of representation.
Isn't the whole point of binary serialization formats efficiency and ease of parsing? Otherwise you might as well use .json.gz and probably end up with smaller files anyway.
You are very right. I was actually not arguing in favor of more complicated compression, but instead for more efficient access to data. Certainly, iterating though array and map items to get to the next element is not efficient.