[Yum-devel] [PATCH] make sure when we return items we sort the counts of things matched from the tagsdb into the rest of the matches. FIXME added to get rid of the silly sorting list as it appears to only want to make me cry

Seth Vidal skvidal at fedoraproject.org
Fri Mar 12 12:42:46 UTC 2010



On Fri, 12 Mar 2010, Tim Lauridsen wrote:

> 
> Agree, results_by_pkg.setdefault(pkg, []).append((matchkeys, tagresults)) look reelly creapy :)
> I cut down a number of lines, but it don't look nice. but both way are OK for me, but it make my eyes bleed
> :)
>

So here's my question: Does results_by_pkg.setdefault(......) actually run 
more quickly than the if statement?

-sv



More information about the Yum-devel mailing list