Subject: Re: Possible speed improvement to mk/bulk/tflat
To: None <>
From: Juan RP <>
List: tech-pkg
Date: 10/11/2005 06:41:27
On Mon, 10 Oct 2005 14:40:33 -0400 (EDT)
Todd Vierling <> wrote:

> It's somewhat convenient that a bulk build requires lang/perl5.  I
> would like to replace the tflat awk script, which does its work by
> forking off hordes of "sort" subprocesses -- slow as ants on Interix,
> for one.
> I cobbled together the following perl script that is *much* faster
> (more than 95% in my empirical tests on Interix, and at least twice
> as fast on NetBSD).  The usage is slightly different; it's faster to
> output both dependency files at once, so this script should be run as:

Really cool, Todd :-)