pub fn increase_capacity(&mut self, new_capacity: usize) {
        if self.gens_capacity >= new_capacity {
            return;
        }

        let label = [b'G'];
        self.G_vec.extend(
            &mut GeneratorsChain::new(&[label, [b'G']].concat())
                .fast_forward(self.gens_capacity)
                .take(new_capacity - self.gens_capacity),
        );

        self.H_vec.extend(
            &mut GeneratorsChain::new(&[label, [b'H']].concat())
                .fast_forward(self.gens_capacity)
                .take(new_capacity - self.gens_capacity),
        );

        self.gens_capacity = new_capacity;
    }
/// Increases the generators' capacity to the amount specified.
/// If less than or equal to the current capacity, does nothing.
Increases the generators' capacity to the amount specified.
If less than or equal to the current capacity, does nothing.
Increases the generators ' capacity to the amount specified . If less than or equal to the current capacity does nothing .
pub fn increase_capacity(&mut self, new_capacity: usize) {
        if self.gens_capacity >= new_capacity {
            return;
        }
        let label = [b'G'];
        self.G_vec.extend(
            &mut GeneratorsChain::new(&[label, [b'G']].concat())
                .fast_forward(self.gens_capacity)
                .take(new_capacity - self.gens_capacity),
        );
        self.H_vec.extend(
            &mut GeneratorsChain::new(&[label, [b'H']].concat())
                .fast_forward(self.gens_capacity)
                .take(new_capacity - self.gens_capacity),
        );
        self.gens_capacity = new_capacity;
    }
pub fn increase_capacity ( & mut self , new_capacity : usize ) { if self . gens_capacity >= new_capacity { return ; } let label = [ b'G' ] ; self . G_vec . extend ( & mut GeneratorsChain :: new ( & [ label , [ b'G' ] ] . concat ( ) ) . fast_forward ( self . gens_capacity ) . take ( new_capacity - self . gens_capacity ) , ) ; self . H_vec . extend ( & mut GeneratorsChain :: new ( & [ label , [ b'H' ] ] . concat ( ) ) . fast_forward ( self . gens_capacity ) . take ( new_capacity - self . gens_capacity ) , ) ; self . gens_capacity = new_capacity ; }
Increases the generators' capacity to the amount specified.
Increases the generators ' capacity to the amount specified .
&mut self
new_capacity
usize