]> git.saurik.com Git - apt.git/commit
Try avoiding loading long package description
authorAdrian Wielgosik <adrian.wielgosik@gmail.com>
Tue, 2 Feb 2016 17:55:48 +0000 (18:55 +0100)
committerAdrian Wielgosik <adrian.wielgosik@gmail.com>
Tue, 2 Feb 2016 19:51:15 +0000 (20:51 +0100)
commitadb4f2c5cf0e313e8d39a562fe7f095d2029f647
tree29534578b4f0af553f6a9515197de038d6aa222d
parentf1828e6b0adb87bf0b99d3cfeeafbb76cbc6aab7
Try avoiding loading long package description

It's a fairly expensive call and it's called on every package,
even though it's usually only used when we're interested in
a small number of packages.
Long description is currently only shown by this function
when using `apt search X --full`.

On my PC, this patch speeds up `apt list` by roughly 20%
and `apt list --installed` by 1-2%.
apt-private/private-output.cc