[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] sub directories for /var/lib/dpkg/info



On Fri, 14 Apr 2000, Ben Collins wrote:

> code, which loops over readdir() in /var/lib/dpkg/info for every single
> package you install. Now that's 2500+ loops * every package, when I
> apt-get upgrade. Might not notice it much on this 270mhz ultrasparc, but I

You know a better optimization would be to simply read everything once and
use a per-package flag indicating which files are available and which are
not.

Then you don't have to change the disk format.

Jason


Reply to: