Function croaring_sys::roaring64_bitmap_and
source ยท pub unsafe extern "C" fn roaring64_bitmap_and(
r1: *const roaring64_bitmap_t,
r2: *const roaring64_bitmap_t
) -> *mut roaring64_bitmap_t
Expand description
Computes the intersection between two bitmaps and returns new bitmap. The caller is responsible for free-ing the result.
Performance hint: if you are computing the intersection between several bitmaps, two-by-two, it is best to start with the smallest bitmaps. You may also rely on roaring64_bitmap_and_inplace to avoid creating many temporary bitmaps.