[capnproto] Re: About random access for Cap'N proto message

2017-12-05 Thread wangtao724
Thanks a lot. I got it. In my case, I will always read the compressed byte array back from KV store, decompress and then read fields. So, in this case, "random access" means Cap'N will only create the object of that field from unpacked message without creating the temp objects of other fields,

Re: [capnproto] capnp::SchemaLoader::CompatibilityChecker

2017-12-05 Thread deansherthompson
The request for a public API for backward compatibility checking is in PR 538 . In light of the discussion here, I propose that a final resolution of that PR would be to expose a public API function that tidily exposes the existing