this should fix https://pagure.io/modularity/fedmod/issue/29
please pass it along with other stuff. I mean userdata should contain solvable.
Every query is very expensive.
Could you elaborate a little, please ?
Although I wonder if that's worth the effort, I've timed it a couple of times:
run with 2928 packages:
old version: real 2m14,523s user 2m13,981s sys 0m0,199s
real 2m14,044s user 2m13,540s sys 0m0,178s
real 2m14,104s user 2m13,559s sys 0m0,205s
real 2m13,625s user 2m13,071s sys 0m0,212s
real 2m16,581s user 2m16,041s sys 0m0,188s
new version: real 2m14,575s user 2m13,718s sys 0m0,309s
real 2m13,912s user 2m13,375s sys 0m0,211s
real 2m12,642s user 2m12,034s sys 0m0,237s
real 2m14,408s user 2m13,845s sys 0m0,221s
real 2m10,771s user 2m10,216s sys 0m0,215s
The system time is slightly higher, user and real times didn't change
I'll rebase/apply it as is. @ignatenkobrain, we can fix/augment things later on if needed.
Pull-Request has been merged by nphilipp
Applied in commit e05248a.
this should fix https://pagure.io/modularity/fedmod/issue/29