Avoided creation of temporary set in Query.append_annotation_mask().

This commit is contained in:
Sergey Fedoseev 2017-08-15 18:43:47 +05:00 committed by Tim Graham
parent 0608c24378
commit 6141040813
1 changed files with 1 additions and 1 deletions

View File

@ -1784,7 +1784,7 @@ class Query:
def append_annotation_mask(self, names):
if self.annotation_select_mask is not None:
self.set_annotation_mask(set(names).union(self.annotation_select_mask))
self.set_annotation_mask(self.annotation_select_mask.union(names))
def set_extra_mask(self, names):
"""