Re: [PATCH 1/4] Index hashes by UUID instead of name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/6/17 Jiri Denemark <jdenemar@xxxxxxxxxx>:
> Per-connection hashes for domains, networks, storage pools and network
> filter pools were indexed by names which was not the best choice. UUIDs
> are better identifiers, so lets use them.

Well, the comments say the same: "UUID is better than the name has
key", but why? Because they are more random than the name and might
result in less collisions in the hash?

Also ID, name and UUID must be unique per domain anyway.

> ---
>  src/datatypes.c |   64 +++++++++++++++++++++++++++++++------------------------
>  1 files changed, 36 insertions(+), 28 deletions(-)
>

Anyway, ACK.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]