[Rpm-maint] [rpm-software-management/rpm] Add a key-only rpmdb iterator to optimize rpmtsCheck() (#971)

Panu Matilainen notifications at github.com
Thu Dec 5 12:42:57 UTC 2019


rpmtsCheck() builds some hashes over rpmdb keys, whose buildup is barely measurable in normal install/update/erase transactions, but when repeated thousands of times during rpm -Va, things start adding up. Add a new interface to avoid fetching tonnes of unused data and use it. More details in the commits.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/971

-- Commit Summary --

  * Implement a key-only rpmdb index iterator
  * Use the new index key iterator for dependency check hashes

-- File Changes --

    M lib/backend/db3.c (18)
    M lib/backend/lmdb.c (18)
    M lib/backend/ndb/glue.c (8)
    M lib/backend/sqlite.c (8)
    M lib/depends.c (2)
    M lib/rpmdb.c (11)
    M lib/rpmdb.h (8)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/971.patch
https://github.com/rpm-software-management/rpm/pull/971.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/971
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191205/c4794ae0/attachment.html>


More information about the Rpm-maint mailing list