]> git.proxmox.com Git - pve-installer.git/commit
fqdn comparison: make more efficient
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Feb 2024 16:22:18 +0000 (17:22 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Feb 2024 16:29:53 +0000 (17:29 +0100)
commit573e3f41fb88a041e5200ad4929fb7b3f303399e
tree00fae3fbdcb24bd1e9390a4f3facb835bb0d48bb
parent9466865843d9cb122c8e10b7761e33d169d95bd2
fqdn comparison: make more efficient

Compare lazily to always avoid to vector collections and if one of the
first parts mismatch some lower_case calls.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-installer-common/src/utils.rs