[Rpm-maint] [rpm-software-management/rpm] Replace rpmhash with STL unordered_map in headerformat cache (PR #3078)
Panu Matilainen
notifications at github.com
Tue May 7 08:01:13 UTC 2024
A notable difference is that we're now storing the rpmtd structs themselves in the hash, rather than pointers to them.
A minor side-cleanup is that headerGet() does not return data on failure so there's no need to free anything in that case.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/3078
-- Commit Summary --
* Replace rpmhash with STL unordered_map in headerformat cache
-- File Changes --
M lib/headerfmt.c (50)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/3078.patch
https://github.com/rpm-software-management/rpm/pull/3078.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3078
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3078 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240507/4fd550be/attachment-0001.html>
More information about the Rpm-maint
mailing list