speedup filter(pkg=XXX, arch__neq=WWW)
originally 17976 calls 157s, i.e. 17% out of 15 mins Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
ec56ee75e2
commit
110fe7647c
@ -229,7 +229,7 @@ class Gather(GatherBase):
|
||||
|
||||
all_pkgs = list(package_list)
|
||||
native_pkgs = self.q_native_binary_packages.filter(pkg=all_pkgs).apply()
|
||||
multilib_pkgs = self.q_multilib_binary_packages.filter(pkg=all_pkgs).filter(arch__neq="noarch").apply()
|
||||
multilib_pkgs = [pkg for pkg in all_pkgs if pkg.arch != "noarch"]
|
||||
|
||||
result = set()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user