Re: "make delete-old" performance.

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Thu, 17 May 2012 14:13:40 +0200
On 2012-05-17 05:18, b. f. wrote:...
> The slowdown is probably due - at least in part - to two factors:
> 
> - the list of files to be checked for removal has grown substantially,
> because missing entries for old knobs and new entries for new knobs
> have been added; and
> 
> - a new (and slower) method of checking was added in:
> http://svnweb.FreeBSD.org/base?view=revision&revision=220255
> because the old method broke down with the size of the new lists of files.

Hm, maybe it would have been better to fix make, so it can accept
arbitrarily long lists, without segfaulting?  There's such a thing as
malloc(), and I simply don't believe any of those lists could be larger
than a few hundred kilobytes.
Received on Thu May 17 2012 - 10:13:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC