thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fogbit <fog...@gmail.com>
Subject Re: Binary data (de)serializing
Date Thu, 03 Oct 2013 08:14:59 GMT
Thank you for the answers, i'll use binary type then.


2013/10/3 Ben Craig <bencraig@apache.org>

> > Hi.
> >
> > I need to (de)serializing a buffer containing binary data, particularly
> > between C++ (sender/receiver) and Python (receiver) applications. What
> data
> > type should i use in a .proto file?
>
> In C++, strings (de)serialize orders of magnitude faster than vectors.
> Vectors are generally (de)serialized one element at a time, where strings
> are (de)serialized with a memcpy.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message