pub fn empty_vec(size: usize) -> Box<[Self]> {
        let mut output = Vec::with_capacity(size);

        for _ in 0..size {
            let element: Self = Bucket {
                data: None,
                neighbourhood: B::one_at(0) & B::zero_at(0),
            };

            output.push(element);
        }

        output.into()
    }
/// Create a new heap allocated array, with a given size, of empty buckets.
Create a new heap allocated array, with a given size, of empty buckets.
Create a new heap allocated array with a given size of empty buckets .
pub fn empty_vec(size: usize) -> Box<[Self]> {
        let mut output = Vec::with_capacity(size);
        for _ in 0..size {
            let element: Self = Bucket {
                data: None,
                neighbourhood: B::one_at(0) & B::zero_at(0),
            };
            output.push(element);
        }
        output.into()
    }
pub fn empty_vec ( size : usize ) -> Box < [ Self ] > { let mut output = Vec :: with_capacity ( size ) ; for _ in 0 .. size { let element : Self = Bucket { data : None , neighbourhood : B :: one_at ( 0 ) & B :: zero_at ( 0 ) , } ; output . push ( element ) ; } output . into ( ) }
Create a new heap allocated array, with a given size, of empty buckets.
Create a new heap allocated array with a given size of empty buckets .
size
usize
size
usize