[Development] QDataStream: blackbox or document all versions?

Thiago Macieira thiago.macieira at intel.com
Mon Sep 26 09:14:03 CEST 2016


On segunda-feira, 26 de setembro de 2016 00:12:13 PDT Konstantin Tokarev 
wrote:
> In case you are going to implement CBOR from scratch, please support string
> reference extension [1] which is needed to encode repeating strings (most
> importantly, data keys) efficiently.

Please create a feature suggestion for me at
	https://github.com/01org/tinycbor/
I'll implement it once it becomes an RFC (not before).

This looks like a nice suggestion, but requires the decoder to support it and 
may not be supported by all. TinyCBOR is meant to work on very constrained 
systems and keeping track of what an atom/quark is supposed to be could be 
expensive if all the decoder does is do a stream decoding and operate as it 
reads.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list