[Yum-devel] [PATCH] Optimize RpmSack
ffesti at redhat.com
Tue Jan 29 13:31:29 UTC 2008
I am still trying to reduce my "uncommited patches count". This one moves
RpmSack from being header centric to package object centric. It also
introduces a _completely_loaded flag which allows serveral opersations to be
run without loading all headers (This should not yet help in normal
operations but may be some of the list/search commands can profit from
that?). For my update test cases this patch saves up to 30MB of memory.
These savings are supposed to come from no longer creating pkg object more
than once per pkg in the rpmdb.
Btw: There are some nice "patterns" parameters that are still unused. Is
someone going to fix them or at least raise a NotImplemented exception?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9538 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20080129/8d055c6f/attachment.bin
More information about the Yum-devel