News for hackers. Stuff that matters.

slavio

Re:RFC 7049 - Concise Binary Object Representation (CBOR) on Tuesday October 29, 2013 @11:36AM (#6634879)
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.
Re:RFC 7049 - Concise Binary Object Representation (CBOR) on Tuesday October 29, 2013 @09:48AM (#6633992)
I agree. I think CBOR trades off a bit too much efficiency of in-place data access for compactness of representation.
Re:RFC 7049 - Concise Binary Object Representation (CBOR) on Tuesday October 29, 2013 @09:45AM (#6633967)
Any JSON object encoding format would greatly benefit from compression. It does not have to be complicated: even something as simple as using a dictionary array of "symbols" whose indices can be used instead of repeating string values.
Re:Ask HN: A good C++ multi-dimensional array library? on Wednesday October 23, 2013 @03:49PM (#6601209)
Sparse matrices or not? You could look into OpenCV's Mat and SparseMat here: http://docs.opencv.org/modules/core/doc/basic_structures.htm...