Re: dpkg v2 ? I haven't heard about it, but ...
Adam Heath <firstname.lastname@example.org> wrote:
> *.list handling is way inefficient. It is faster for me to grep the .list
> files, then for me to do dpkg -S. And that is on a celeron 300/256m.
I agree that this is an issue.
I frequently find that I can do dpkg -S
*then* start up another window and manually type out a similar
line involving grep /var/lib/dpkg/info/*.list
and have the grep complete before the dpkg -S completes.
The machine I'm using at the moment is too fast for this, but the
difference is still signficant (~20x):
$ time grep dselect /var/lib/dpkg/info/*.list
$ time dpkg -S dselect