You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client::Impl::ReceiveData() uses SkipString to skip over an unused string in the input, instead of creating a std::string, reading into it, then discarding it;
Client::Impl::ReadBlock(...) reuses the std::string variables name and type for all columns, instead of allocating these two std::strings for each column;
Client::Impl::Insert(...) builds the fields_section more efficiently, directly from the block, without creating and copying from the block into a std::vector<std::string>, and then writing to std::stringstream from it.
The text was updated successfully, but these errors were encountered:
bool WireFormat::SkipString(CodedInputStream*)
(used below);Client::Impl::ReceiveData()
usesSkipString
to skip over an unused string in the input, instead of creating astd::string
, reading into it, then discarding it;Client::Impl::ReadBlock(...)
reuses thestd::string
variablesname
andtype
for all columns, instead of allocating these twostd::string
s for each column;Client::Impl::Insert(...)
builds the fields_section more efficiently, directly from theblock
, without creating and copying from theblock
into astd::vector<std::string>
, and then writing to std::stringstream from it.The text was updated successfully, but these errors were encountered: