pub fn handle_delayed_grows(&mut self) {
        if self.reallocated.get_reallocated() {
            // swap out the bucket that was resized previously with a read lock
            let mut items = ReallocatedItems::default();
            std::mem::swap(&mut items, &mut self.reallocated.items.lock().unwrap());

            if let Some((random, bucket)) = items.index.take() {
                self.apply_grow_index(random, bucket);
            } else {
                // data bucket
                let (i, new_bucket) = items.data.take().unwrap();
                self.apply_grow_data(i as usize, new_bucket);
            }
        }
    }
/// if a bucket was resized previously with a read lock, then apply that resize now
if a bucket was resized previously with a read lock, then apply that resize now
if a bucket was resized previously with a read lock then apply that resize now
pub fn handle_delayed_grows(&mut self) {
        if self.reallocated.get_reallocated() {
            // swap out the bucket that was resized previously with a read lock
            let mut items = ReallocatedItems::default();
            std::mem::swap(&mut items, &mut self.reallocated.items.lock().unwrap());
            if let Some((random, bucket)) = items.index.take() {
                self.apply_grow_index(random, bucket);
            } else {
                // data bucket
                let (i, new_bucket) = items.data.take().unwrap();
                self.apply_grow_data(i as usize, new_bucket);
            }
        }
    }
pub fn handle_delayed_grows ( & mut self ) { if self . reallocated . get_reallocated ( ) { // swap out the bucket that was resized previously with a read lock let mut items = ReallocatedItems :: default ( ) ; std :: mem :: swap ( & mut items , & mut self . reallocated . items . lock ( ) . unwrap ( ) ) ; if let Some ( ( random , bucket ) ) = items . index . take ( ) { self . apply_grow_index ( random , bucket ) ; } else { // data bucket let ( i , new_bucket ) = items . data . take ( ) . unwrap ( ) ; self . apply_grow_data ( i as usize , new_bucket ) ; } } }
if a bucket was resized previously with a read lock, then apply that resize now
if a bucket was resized previously with a read lock then apply that resize now
&mut self