a5565e001e
instead of doing a lot of string comparisons, we first check the type with the most objects (vms/cts) via number operation and in all other cases, we can simply use the type as property index Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>