Re: [pacman-dev] [PATCH 3/4] libalpm: short circuit alpm_find_dbs_satisfier

2019-10-06 Thread Allan McRae
On 9/9/19 7:45 am, morganamilo wrote: > when a satisfying package is already installed, we always pick it > instead of prompting the user. So we can return that package as soon as > we find it, instead of waiting until we've iterated through all the > databases. > --- Ack. > lib/libalpm/deps.c

[pacman-dev] [PATCH 3/4] libalpm: short circuit alpm_find_dbs_satisfier

2019-09-08 Thread morganamilo
when a satisfying package is already installed, we always pick it instead of prompting the user. So we can return that package as soon as we find it, instead of waiting until we've iterated through all the databases. --- lib/libalpm/deps.c | 15 +++ 1 file changed, 7 insertions(+), 8