Performance speed up
svn: r10882
This commit is contained in:
		@@ -315,10 +315,10 @@ class ReferencedProxyDb(ProxyDbBase):
 | 
				
			|||||||
        handle_itr = self.db.find_backlink_handles(handle, include_classes)
 | 
					        handle_itr = self.db.find_backlink_handles(handle, include_classes)
 | 
				
			||||||
        for (class_name, handle) in handle_itr:
 | 
					        for (class_name, handle) in handle_itr:
 | 
				
			||||||
            if class_name == 'Person':
 | 
					            if class_name == 'Person':
 | 
				
			||||||
                if not self.has_person_handle(handle):
 | 
					                if not self.get_person_from_handle(handle):
 | 
				
			||||||
                    continue
 | 
					                    continue
 | 
				
			||||||
            elif class_name == 'Family':
 | 
					            elif class_name == 'Family':
 | 
				
			||||||
                if not self.has_family_handle(handle):
 | 
					                if not self.get_family_from_handle(handle):
 | 
				
			||||||
                    continue
 | 
					                    continue
 | 
				
			||||||
            elif class_name == 'Event':
 | 
					            elif class_name == 'Event':
 | 
				
			||||||
                if handle in self.unreferenced_events:
 | 
					                if handle in self.unreferenced_events:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user