Closed 1261385937 closed 1 year ago
Actually, we has 60+ column. Most of them are large string. we use this method:
void ColumnString::Append(std::string&& steal_value)
rather than
void ColumnString::Append(std::string_view str)
So, ColumnArrayT Append can steal value is a better choice
Optimize
ColumnArrayT::Append()
to allow underlying column (e.g.ColumnString
) to 'steal' values if it has r-value overload ofAppend()
to prevent excessive copying.