def _update_last_part_moves(self):
        elapsed_hours = int(time() - self._last_part_moves_epoch) / 3600
        if elapsed_hours <= 0:
            return
        for part in range(self.parts):
            # The "min(self._last_part_moves[part] + elapsed_hours, 0xff)"
            # which was here showed up in profiling, so it got inlined.
            last_plus_elapsed = self._last_part_moves[part] + elapsed_hours
            if last_plus_elapsed < 0xff:
                self._last_part_moves[part] = last_plus_elapsed
            else:
                self._last_part_moves[part] = 0xff
        self._last_part_moves_epoch = int(time())
Length in Feet (f)
dataset/ETHPy150Open openstack/swift/swift/common/ring/builder.py/RingBuilder._update_last_part_moves--crossover with--dataset/ETHPy150Open DenisCarriere/geocoder/geocoder/ottawa_parcel.py/OttawaParcel.length