HuaHuaY commented on code in PR #50281:
URL: https://github.com/apache/arrow/pull/50281#discussion_r3636617001
##########
cpp/src/arrow/util/bit_run_reader.h:
##########
@@ -536,5 +544,93 @@ inline void VisitSetBitRunsVoid(const
std::shared_ptr<Buffer>& bitmap, int64_t o
std::forward<Visit>(visit));
}
+template <typename Visit>
+inline Status VisitTwoSetBitRuns(const uint8_t* left_bitmap, int64_t
left_offset,
+ const uint8_t* right_bitmap, int64_t
right_offset,
+ int64_t length, Visit&& visit,
+ MemoryPool* pool = default_memory_pool()) {
Review Comment:
Previously, we allocated memory for bitmap using this pool. Now bitmap uses
stack space. I will remove this parameter.
--
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]