From owner-cvs-all@FreeBSD.ORG Tue Jun 19 18:08:29 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7402C16A468; Tue, 19 Jun 2007 18:08:29 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from alnrmhc15.comcast.net (alnrmhc15.comcast.net [206.18.177.55]) by mx1.freebsd.org (Postfix) with ESMTP id 21B8E13C447; Tue, 19 Jun 2007 18:08:29 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from discordia (c-24-147-139-42.hsd1.ma.comcast.net[24.147.139.42]) by comcast.net (alnrmhc15) with ESMTP id <20070619180828b150017mtce>; Tue, 19 Jun 2007 18:08:28 +0000 Received: by discordia (Postfix, from userid 103) id 260FB14D54E; Tue, 19 Jun 2007 14:08:28 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) by discordia (Postfix) with ESMTP id A2C6014D54E; Tue, 19 Jun 2007 14:08:26 -0400 (EDT) From: Coleman Kane To: pav@FreeBSD.org In-Reply-To: <1182268443.21730.75.camel@pav.hide.vol.cz> References: <200706182249.l5IMnE4H099470@repoman.freebsd.org> <1182268273.23264.3.camel@erwin.int.cokane.org> <1182268443.21730.75.camel@pav.hide.vol.cz> Content-Type: text/plain; charset=UTF-8 Organization: FreeBSD Project Date: Tue, 19 Jun 2007 14:08:41 -0400 Message-Id: <1182276521.23264.6.camel@erwin.int.cokane.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pkg_install/lib deps.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2007 18:08:29 -0000 On Tue, 2007-06-19 at 17:54 +0200, Pav Lucistnik wrote: > Coleman Kane píše v út 19. 06. 2007 v 11:51 -0400: > > On Mon, 2007-06-18 at 22:49 +0000, Pav Lucistnik wrote: > > > pav 2007-06-18 22:49:13 UTC > > > > > > FreeBSD src repository (doc,ports committer) > > > > > > Modified files: > > > usr.sbin/pkg_install/lib deps.c > > > Log: > > > - Replace rather inefficient bubble sort with a recursive depth-first search. > > > This speeds up registration of packages considerably. > > > - style(9) police welcome! > > > > > > PR: bin/112630 > > > Submitted by: Stephen Montgomery-Smith > > > Tested by: bento i386 experimental run > > > MFC after: 14 days > > > > > > Revision Changes Path > > > 1.12 +111 -65 src/usr.sbin/pkg_install/lib/deps.c > > > > > > > Is this by any chance connected to why many of my gnome2 dependencies > > would take longer to register than to compile? > > Are you observing slowdown registering ports with this patch? > I don't think so. I don't even know if I have the latest sources for pkg_install down yet. I was actually referring to my experience since the x.org modularization that ended up (I think) causing so many dependencies on some packages that registration was awfully slow. I wanted to know if this patch was expected to fix that problem. -- Coleman