yiguolei commented on code in PR #11740:
URL: https://github.com/apache/doris/pull/11740#discussion_r944312491


##########
be/src/vec/common/pod_array.h:
##########
@@ -111,15 +112,26 @@ class PODArrayBase : private boost::noncopyable,
         return byte_size(num_elements) + pad_right + pad_left;
     }
 
+    inline void reset_peak() {
+        if (c_end - c_end_peak > 1024) {

Review Comment:
   add unlikely here



-- 
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]

Reply via email to