[Yum] yum performance

Mihai T. Lazarescu mihai at email.it
Fri Apr 30 17:05:52 UTC 2004


On Fri, 30 Apr 2004, seth vidal wrote:

> thousands and thousands of packages will eat time. You have to traverse
> them to find a resolution.
> 
> I'm open to suggestions for how to not traverse the packages.

Perhaps I did not understand the question about traversing,
but I'd build a hash with correspondences:

    key:"feature provided" --> value:"list of packages that provide it"

foe all available packages.

This hash would then be interrogated to find suitable candidates
for a dependency, when the need arises.  But I suspect this
is already implemented and it's still slow... :)

Mihai



More information about the Yum mailing list