fn cleanup(&mut self, new_basins: u64) {
        let dropped_basins = self.used_basins & !new_basins;
        for b in IterIntSet::from_set(dropped_basins) {
            self.update_best_3(self.basins[b]);
            self.basins[b] = 0;
            self.used_basins &= !(1 << b);
        }
    }
/// Consider as completed all basins that are not in new_basins
Consider as completed all basins that are not in new_basins
Consider as completed all basins that are not in new_basins
fn cleanup(&mut self, new_basins: u64) {
        let dropped_basins = self.used_basins & !new_basins;
        for b in IterIntSet::from_set(dropped_basins) {
            self.update_best_3(self.basins[b]);
            self.basins[b] = 0;
            self.used_basins &= !(1 << b);
        }
    }
fn cleanup ( & mut self , new_basins : u64 ) { let dropped_basins = self . used_basins & ! new_basins ; for b in IterIntSet :: from_set ( dropped_basins ) { self . update_best_3 ( self . basins [ b ] ) ; self . basins [ b ] = 0 ; self . used_basins &= ! ( 1 << b ) ; } }
Consider as completed all basins that are not in new_basins
Consider as completed all basins that are not in new_basins
&mut self
new_basins
u64