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

Panu Matilainen notifications at github.com
Mon Dec 9 08:41:40 UTC 2019


Yeah I noticed the #if 0 -block and its similarity, I just assumed it was a leftover/work-in-progress thing related to, well prefix search :)

I remember a fleeting thought "why is there no flags field in the index iterator struct where I could stuff this in", but somehow the thought of putting the flag in the cursor never occurred to me. Maybe thoughts on the long weekend already...

Anyway, I'll rename to ii_skipdata and merge with the ndb #if 0 part now that I know what it is.
We can always switch the implementation to use a cursor flag later if it becomes useful (where it'd really make a difference of course is the pkgdb, but don't have an immediate use-case for that).

-- 
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#issuecomment-563125575
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191209/0119ee0c/attachment.html>


More information about the Rpm-maint mailing list