yiguolei commented on code in PR #51623:
URL: https://github.com/apache/doris/pull/51623#discussion_r2232842925
##########
be/src/vec/common/string_buffer.hpp:
##########
@@ -186,6 +186,92 @@ class BufferReadable {
const char* _data;
};
+inline void writeChar(char x, BufferWritable& buf) {
+ buf.write(x);
+}
+
+/** Writes a C-string without creating a temporary object. If the string is a
literal, then `strlen` is executed at the compilation stage.
+ * Use when the string is a literal.
Review Comment:
这个代码需要单独看看!!
--
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]