Hi Vitaly,

capnp::canonicalize() does a lot more work to make sure that two messages
with the same content will produce exactly the same output bytes,
independent of e.g. in which order they were initialized. This makes it
slower than messageToFlatArray, so you should still use messageToFlatArray
unless you specifically need canonicalization.

-Kenton

On Tue, May 2, 2017 at 10:20 AM, vitaly numenta <
[email protected]> wrote:

> I just read about capnp::canonicalize in the announcement. How does it
> differ from capnp::messageToFlatArray?
>
> Thank you,
> Vitaly
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at https://groups.google.com/group/capnproto.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to