pub fn grow(&self, err: BucketMapError) {
        match err {
            BucketMapError::DataNoSpace((data_index, current_capacity_pow2)) => {
                //debug!("GROWING SPACE {:?}", (data_index, current_capacity_pow2));
                self.grow_data(data_index, current_capacity_pow2);
            }
            BucketMapError::IndexNoSpace(current_capacity_pow2) => {
                //debug!("GROWING INDEX {}", sz);
                self.grow_index(current_capacity_pow2);
            }
        }
    }
/// grow the appropriate piece. Note this takes an immutable ref.
/// The actual grow is set into self.reallocated and applied later on a write lock
grow the appropriate piece. Note this takes an immutable ref.
The actual grow is set into self.reallocated and applied later on a write lock
grow the appropriate piece . Note this takes an immutable ref . The actual grow is set into self . reallocated and applied later on a write lock
pub fn grow(&self, err: BucketMapError) {
        match err {
            BucketMapError::DataNoSpace((data_index, current_capacity_pow2)) => {
                //debug!("GROWING SPACE {:?}", (data_index, current_capacity_pow2));
                self.grow_data(data_index, current_capacity_pow2);
            }
            BucketMapError::IndexNoSpace(current_capacity_pow2) => {
                //debug!("GROWING INDEX {}", sz);
                self.grow_index(current_capacity_pow2);
            }
        }
    }
pub fn grow ( & self , err : BucketMapError ) { match err { BucketMapError :: DataNoSpace ( ( data_index , current_capacity_pow2 ) ) => { //debug!("GROWING SPACE {:?}", (data_index, current_capacity_pow2)); self . grow_data ( data_index , current_capacity_pow2 ) ; } BucketMapError :: IndexNoSpace ( current_capacity_pow2 ) => { //debug!("GROWING INDEX {}", sz); self . grow_index ( current_capacity_pow2 ) ; } } }
grow the appropriate piece.
grow the appropriate piece .
&self
err
BucketMapError