HappenLee commented on code in PR #66145:
URL: https://github.com/apache/doris/pull/66145#discussion_r3878894175


##########
be/src/storage/segment/segment_iterator.cpp:
##########
@@ -209,12 +212,18 @@ class SegmentIterator::BitmapRangeIterator {
 
     explicit BitmapRangeIterator(const roaring::Roaring& bitmap) {
         roaring_init_iterator(&bitmap.roaring, &_iter);
+        if (!bitmap.isEmpty()) {

Review Comment:
   这个东西没有rf的时候也得维护一套,这个开销能不能规避一下,加一个判断是不是要等rf,否则纯浪费?



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