improve performance and cost CodeQL Signed-off-by: Mario Candela <m4r10.php@gmail.com>
Signed-off-by: Mario Candela <m4r10.php@gmail.com>