Hi, So I guess the next step is to do a tentative extention to dinstall, which would generate size data, and once we start collecting that, we can get apt to look at it.
manoj >>"Richard" == Richard Braakman <[EMAIL PROTECTED]> writes: Richard> Manoj Srivastava wrote: >> Hmm. I guess that this can be yet another task performed by >> dinstall, so one wouldn't even need to run the script over all >> packages (one would just cache the result to regenerate the master >> file later, I guess). Richard> Indeed, and it would be easier to implement this way. We Richard> already have the framework for generating several indices Richard> from the deb files (such as md5sums), this would just be one Richard> more. >> Hmm. This could get time consuming, though. We need to look at >> _how_ time consuming it is. Richard> The main time cost would be that of uncompressing the Richard> data.tar.gz element. This need only be done for changed Richard> packages. On my machine, creating the tar index for a Richard> package takes about 1 second per megabyte (or 2 seconds per Richard> megabyte if dpkg does it.) This is an 120 BogoMIPS machine Richard> :-) Richard> This index is already needed to generate the Contents files, Richard> by the way. It should be possible to collect the Richard> information once and use it for both. -- It is easier to make a saint out of a libertine than out of a prig. George Santayana Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/%7Esrivasta/> Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E