pub unsafe extern "C" fn roaring_bitmap_init_with_capacity(
    r: *mut roaring_bitmap_t,
    cap: u32
) -> bool
Expand description

Initialize a roaring bitmap structure in memory controlled by client. Capacity is a performance hint for how many “containers” the data will need. Can return false if auxiliary allocations fail when capacity greater than 0.