summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2008-12-05 13:43:37 +0200
committerRaphael Hertzog <hertzog@debian.org>2008-12-08 10:08:48 +0100
commit07efbb0889fcc6fab678ee727fc7c4013b163b53 (patch)
tree1bd12b97dd599956953689bde77121dff527a51b /ChangeLog
parentf29e54ab5ccf99376dfb3a9ac824ea795c260e10 (diff)
downloaddpkg-07efbb0889fcc6fab678ee727fc7c4013b163b53.tar.gz
dpkg-shlibdeps: optimize by caching symbols files and objdump objects
* scripts/Dpkg/Shlibs/Objdump.pm (parse): Split into add_object() and parse(). * scripts/Dpkg/Shlibs/SymbolFile.pm (merge_object_from_symfile): New function to reintegrate symbols from previous symfiles. * scripts/dpkg-shlibdeps.pl: Optimizes it by caching parsed symbols files and objdump objects. This way neither of the libraries or symbols files are parsed more than once. This patch significantly improves performance of dpkg-shlibdeps bringing it near to performance levels of versions prior to 1.14.8 without loosing any of new functionally at all. Memory requirements are reduced too. This patch SHOULD NOT change the end result of dpkg-shlibdeps. If it does, it is a bug. Improved-by: Raphael Hertzog <hertzog@debian.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 722b63a43..781ff56a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2008-12-08 Modestas Vainius <modestas@vainius.eu>
+ Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/Dpkg/Shlibs/Objdump.pm (parse): Split into add_object()
+ and parse().
+ * scripts/Dpkg/Shlibs/SymbolFile.pm (merge_object_from_symfile):
+ New function to reintegrate symbols from previous symfiles.
+ * scripts/dpkg-shlibdeps.pl: Optimizes it by caching parsed
+ symbols files and objdump objects. This way neither of the
+ libraries or symbols files are parsed more than once.
+
2008-12-05 Guillem Jover <guillem@debian.org>
* lib/mlib.c: Remove <sys/wait.h> include.