Better HN
topnewbestaskshowjobs
Log inSign up

slavio

3 karma · joined Jul 15, 2013 (13y ago) · 4 submissions

Submissions

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

I agree. I think CBOR trades off a bit too much efficiency of in-place data access for compactness of representation.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Sparse matrices or not? You could look into OpenCV's Mat and SparseMat here: http://docs.opencv.org/modules/core/doc/basic_structures.htm...