[Rpm-maint] [rpm-software-management/rpm] Speed up dependency solving by using pool ids (#1081)
Michael Schroeder
notifications at github.com
Thu Feb 20 15:07:11 UTC 2020
This gets rid of a couple of id->str->id roundtrips and also makes the dependency hashes in rpmtsCheck() use pool ids instead of strings.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1081
-- Commit Summary --
* Add fingerprint lookup/compare variants that take ids
* Get rid of id->str->id roundtrips in rpmalAllFileSatisfiesDepend()
* Only lookup the fingerprint when the directories do not match
* Switch dependency checking to use pool ids instead of strings
-- File Changes --
M lib/depends.c (106)
M lib/fprint.c (17)
M lib/fprint.h (17)
M lib/rpmal.c (17)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1081.patch
https://github.com/rpm-software-management/rpm/pull/1081.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1081
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200220/4209c44b/attachment.html>
More information about the Rpm-maint
mailing list