]> git.proxmox.com Git - pve-installer.git/commit
critic: lazily read directories via <> glob
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Jun 2023 05:37:22 +0000 (07:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Jun 2023 05:37:25 +0000 (07:37 +0200)
commit90fb3d7615a76803b9ff0376827782903a2d3342
treef34df729830433e3d4552a2256749b3b320bdd88
parent7d53c807017f32e4f50078583c1d8ed435a4e74f
critic: lazily read directories via <> glob

the for/foreach ones read everything in to build a list and then
iterate that, the while one is lazy and needs less memory.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Proxmox/Sys/Block.pm