thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Craig <>
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 
> 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.

View raw message