HappenLee commented on code in PR #17912:
URL: https://github.com/apache/doris/pull/17912#discussion_r1142998576
##########
be/src/vec/core/block.cpp:
##########
@@ -400,12 +400,25 @@ size_t Block::allocated_bytes() const {
std::string Block::dump_names() const {
std::stringstream out;
for (auto it = data.begin(); it != data.end(); ++it) {
- if (it != data.begin()) out << ", ";
Review Comment:
change stringstream to fmt::memory_buffer to improve the performance
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]