[libvirt] [PATCH 2/5] add hash table rebalancing in virHashUpdateEntry

Eric Blake eblake at redhat.com
Thu Feb 17 23:50:57 UTC 2011


On 02/17/2011 02:14 PM, Christophe Fergeau wrote:
> The code in virHashUpdateEntry and virHashAddEntry is really
> similar. However, the latter rebalances the hash table when
> one of its buckets contains too many elements while the former
> does not. Fix this discrepancy.
> ---
>  src/util/hash.c |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)

ACK and pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110217/a384a44e/attachment-0001.sig>


More information about the libvir-list mailing list