cambyzju commented on code in PR #19973: URL: https://github.com/apache/doris/pull/19973#discussion_r1205209738
########## be/src/util/bitmap_value.h: ########## @@ -1828,6 +2309,27 @@ class BitmapValue { } return count; } + case SET: { + int64_t count = 0; + std::vector<uint64_t> values; + for (auto v : _set) { + values.emplace_back(v); Review Comment: only push back values which `>= range_start`, to reduce sort elements. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org