[pacman-dev] [PATCH] Reduce the negligence of _alpm_resolvedeps

Nagy Gabor ngaba at bibl.u-szeged.hu
Fri Nov 30 18:24:16 EST 2007


> On Thu, Nov 29, 2007 at 10:13:42PM +0100, Nagy Gabor wrote:
> > OK, but I leave the benchmark for you;-)
> > Note: Long "dependency paths" like in smoke001.py may cause notable
> > slowdown. I made a quick "hack", so probably I made some mistakes...
> > 
> 
> I couldn't measure any difference. pacman always need ~3.5 seconds for
> running smoke001.
> 
Because it is an add transaction;-) I just said that it contains a long
dependency path, which can cause notable slowdown in case of -S
first_element_of_path. (Unfortunately I cannot write such tricky
pactests in python).

> > From 3b8f21423035f7bf683494a8e369b6501be8e379 Mon Sep 17 00:00:00
> > 2001 From: Nagy Gabor <ngaba at bibl.u-szeged.hu>
> > Date: Thu, 29 Nov 2007 21:55:55 +0100
> > Subject: [PATCH] Reduce the negligence of _alpm_resolvedeps
> > 
> > This is a not-to-commit patch
> > NOTE: -Se is temporarily removed, because now resolvedeps doesn't
> > have spkg param
> > 
> 
> What is really bad about this patch besides breaking -Se?
> Do you see a clean way of reimplementing it?
Well, the way you didn't like earlier:
http://projects.archlinux.org/git/?p=pacman.git;a=commit;h=b0c064d59b8786a1e169e305a263fc13e2d7ed32

dependency-list == populate(populatedlist - oldlist)

Bye




More information about the pacman-dev mailing list