Structs

  • LEN - Number of elements stored per bucket. Must be less than or equal to u32::MAX, divisible by usize::BITS and it must not be 0.

  • BITARRAY_LEN - Number bits in the bitmap per bucket. Must be equal to LEN / usize::BITS.

    For best performance, try to set this to number of CPUs that are going to access Arena concurrently.

  • Can have at most MAX_REFCNT refcount.

    Constants