def batched_expiration_maintenance(self, elapsed_time):
num_iterations = self.num_batched_maintenance(elapsed_time)<EOL>self.refresh_head, nonzero = maintenance(self.cellarray, self.nbr_bits, num_iterations, self.refresh_head)<EOL>if num_iterations != <NUM_LIT:0>:<EOL><INDENT>self.estimate_z = float(nonzero) / float(num_iterations)<EOL>self._estimate_count()<EOL><DEDENT>processed_interval = num_iterations * self.compute_refresh_time()<EOL>return processed_interval<EOL>
Batched version of expiration_maintenance()
            Cython version