thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Craig <bencr...@apache.org>
Subject Re: Binary data (de)serializing
Date Wed, 02 Oct 2013 20:34:24 GMT
> 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
View raw message