diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-09-12 16:47:43 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-09-12 19:17:20 +0300 |
commit | 06546854933d0d7682bffbdf11c50c1efde17045 (patch) | |
tree | b20ade2fd5d4e73ac875aee9a2c45aed250381ed /python/rpmds-py.c | |
parent | 86dbb8844807b077f27255cccc9c0714a0005d02 (diff) | |
download | librpm-tizen-06546854933d0d7682bffbdf11c50c1efde17045.tar.gz librpm-tizen-06546854933d0d7682bffbdf11c50c1efde17045.tar.bz2 librpm-tizen-06546854933d0d7682bffbdf11c50c1efde17045.zip |
Allow keeping hash table around on pool freeze, adjust callers
- Pool id -> string always works with a frozen pool, but in some cases
we'll need to go the other way, allow caller to specify whether
string -> id lookups should be possible on frozen pool.
- On glibc, realloc() to smaller size doesn't move the data but on
other platforms (including valgrind) it can and does move, which
would require a full rehash. For now, just leave all the data
alone unless we're also freeing the hash, the memory savings
isn't much for a global pool (which is where this matters)
Diffstat (limited to 'python/rpmds-py.c')
0 files changed, 0 insertions, 0 deletions