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/3...@github.com>
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint