Subject: CVS commit: pkgsrc/pkgtools/pkglint/files
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 08/01/2005 21:02:30
Module Name:	pkgsrc
Committed By:	rillig
Date:		Mon Aug  1 21:02:30 UTC 2005

Modified Files:
	pkgsrc/pkgtools/pkglint/files: pkglint.pl

Log Message:
Added a new command line option --debug|d. It is currently used for
measuring the time spent in the main checking subroutines. Using that
function I discovered that method calls like $line->text are awfully
slow. The subroutine checkfile_PLIST spent half of its time in this
function call. Now it is almost twice as fast as before.


To generate a diff of this commit:
cvs rdiff -r1.222 -r1.223 pkgsrc/pkgtools/pkglint/files/pkglint.pl

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