summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJiri Palecek <jpalecek@web.de>2009-07-15 13:53:03 +0200
committerRaphaël Hertzog <hertzog@debian.org>2009-08-26 14:36:02 +0200
commit75cd1fb8b0e6733fa6ccddf7de74fdfeeea5a634 (patch)
tree0ff62f9ad609f49291cf68c6ffbc31e0fd529516 /debian
parent8cedeb37fa29e3b8ae8c42b0874c662c9385dbe6 (diff)
downloaddpkg-75cd1fb8b0e6733fa6ccddf7de74fdfeeea5a634.tar.gz
Dpkg::Shlibs::SymbolFile: cache the minimum version for a particular soname
Afer profiling, I discovered that dpkg-shlibdeps spent a large part of his time in the get_smallest_version() version. This patch improves the performance by caching the resulting value.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index b5935c810..98a562038 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -80,6 +80,9 @@ dpkg (1.15.4) UNRELEASED; urgency=low
Closes: #531307
* Split overly long Binary: field values over multiple lines. This is
allowed since policy 3.8.3. Closes: #494714
+ * Improve performance of dpkg-shlibdeps by caching minimal version
+ associated to each library in Dpkg::Shlib::SymbolFile. Thanks to
+ Jiří Paleček <jpalecek@web.de> for the patch.
[ Modestas Vainius ]
* Provide a meaningful label for dpkg-gensymbols diff.