[Yum-devel] [PATCH] Reintroducing caching
Florian Festi
ffesti at redhat.com
Mon Dec 10 18:18:38 UTC 2007
Hi!
This patch adds by name caches to the RpmSack.searchPrco() and
.searchFiles() which are the base for most search operations. For an 1000
pkg F8 to devel update this save approx. 25% of the depsolving time without
changing the memory footprint significantly.
I'll run my test suite to make sure there isn't a cost for some other
scenarios but this is quite unlikely. If nothing turns out I am going to
commit that changes tomorrow.
Have fun
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-caching-for-RpmSack.searchPrco-searchFiles.patch
Type: text/x-patch
Size: 2085 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20071210/4eba0b28/attachment.bin
More information about the Yum-devel
mailing list