Subject: CVS commit: pkgsrc/pkgtools/pkg_rolling-replace
To: None <pkgsrc-changes@NetBSD.org>
From: Tobias Nygren <tnn@netbsd.org>
List: pkgsrc-changes
Date: 12/02/2007 02:11:06
Module Name:	pkgsrc
Committed By:	tnn
Date:		Sun Dec  2 02:11:06 UTC 2007

Modified Files:
	pkgsrc/pkgtools/pkg_rolling-replace: Makefile
	pkgsrc/pkgtools/pkg_rolling-replace/files: pkg_rolling-replace.sh

Log Message:
pkg_rolling-replace-0.12:
Replace the nested shell loops in depgraph_installed() with some awk
that only needs to invoke pkg_info once. This gives a ~20x speedup.

Previously, if many packages were installed, depgraph generation took a
considerable amount of time; in the order of 30 seconds even on moderately
fast hardware.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 pkgsrc/pkgtools/pkg_rolling-replace/Makefile
cvs rdiff -r1.14 -r1.15 \
    pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.