Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace rpmhash with STL unordered_map in headerformat cache
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.
- Loading branch information
Showing
1 changed file
with
14 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters