Function croaring_sys::roaring_bitmap_add_many

source ·
pub unsafe extern "C" fn roaring_bitmap_add_many(
    r: *mut roaring_bitmap_t,
    n_args: usize,
    vals: *const u32
)
Expand description

Add value n_args from pointer vals, faster than repeatedly calling roaring_bitmap_add()

In order to exploit this optimization, the caller should attempt to keep values with the same “key” (high 16 bits of the value) as consecutive elements in vals