diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-09-12 19:29:28 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-09-12 19:29:28 +0300 |
commit | 2ea2a0961f380d844e4e1541df4f2c05f3b78449 (patch) | |
tree | e2288e92a6174ef17c58c0d25738379b370468ba /lib | |
parent | 86036abb978cb4bacc552446389e813554fdf2b0 (diff) | |
download | librpm-tizen-2ea2a0961f380d844e4e1541df4f2c05f3b78449.tar.gz librpm-tizen-2ea2a0961f380d844e4e1541df4f2c05f3b78449.tar.bz2 librpm-tizen-2ea2a0961f380d844e4e1541df4f2c05f3b78449.zip |
Only rehash the pool on insert if the data area actually moved
- realloc() might not need to actually move the data, and when it
doesn't we dont need to do the very expensive rehash either.
Unsurprisingly makes things a whole lot faster.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions