summaryrefslogtreecommitdiff
path: root/debian/changelog
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2019-02-23 04:56:14 +0100
committerGuillem Jover <guillem@debian.org>2019-02-23 17:57:18 +0100
commit3a017177110da9f54668b614f78aeb98bf73796d (patch)
tree94965d9a9d6a1c693f2fa97a85d1b2c66f1e677e /debian/changelog
parent80b9ae537f0d1d1c1f4dbb7f046c434618ee6363 (diff)
downloaddpkg-3a017177110da9f54668b614f78aeb98bf73796d.tar.gz
libdpkg: Merge nicknames table into fieldinfos
The current code first does a lookup to see if the fieldname is in the nicknames table, if found fixes up the fieldname to the new alias, and then always does a lookup for the normalized name in fieldinfos table. This penalizes the common case (i.e. non-obsolete fieldnames) substantially. Also moving the nicknames into the fieldinfos table will allow to print correct fieldnames on error as those are not mangled any more, and to provide new wrapper parse functions that print warnings for the obsolete fieldnames.
Diffstat (limited to 'debian/changelog')
-rw-r--r--debian/changelog2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 670266e9a..a33d3c7b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,8 @@ dpkg (1.19.5) UNRELEASED; urgency=medium
* libdpkg: Optimize error handling. Move the error reporting outside the
involved functions so that we do not need to call gettext if there is no
error, which has a significant performance cost.
+ * libdpkg: Merge nicknames table into fieldinfos, to stop penalizing the
+ lookup of non-obsolete fieldnames.
* Perl modules:
- Dpkg::Vendor::Debian: Add support for merged-usr-via-symlinks tainted
tag. Suggested by Alexander E. Patrakov <patrakov@gmail.com>.