          if self.faces is not None:
              self.remove_faces()
          skip_count = 0
          merge_count = 0
          total_count = sum([alignments.frames_count for alignments in self.process_alignments])
  
 
</s> remove                          for frame, idx in self.alignments.hashes_to_frame[f_hash].items()]
 </s> add                          for frame, idx in hashes_to_frame[f_hash].items()] </s> remove         frame_faces = list()
        frame_faces = [(f_hash, idx)
                       for f_hash, details in self.alignments.hashes_to_frame.items()
                       for frame_name, idx in details.items()
                       if frame_name == frame_fullname]
 </s> add         frame_faces = [(x["hash"], idx) for idx, x in enumerate(details)] </s> remove         frames = [item["frame_fullname"] for item in self.items]
 </s> add         frames = set([item["frame_fullname"] for item in self.items])
        self._hashes_to_frame = self.final_alignments.hashes_to_frame
          if self.faces is not None:
              self.remove_faces()
        self._hashes_to_frame = self.final_alignments.hashes_to_frame
          skip_count = 0
          merge_count = 0
          total_count = sum([alignments.frames_count for alignments in self.process_alignments])
  
keep add keep keep keep keep
 Multiple Tools->Alignmet speed ups (#785) 
tools/lib_alignments/jobs.py