Looping through an array of 50 GUIs shouldn't be very heavy on the CPU, unless you check/change A LOT of different variables for every entry. The secrecy about the actual intent of the function doesn't make it easier to come with suggestions.
Is it really necessary to run through every single GUI every frame? Wouldn't it be enough to check the ones visible, or ones marked as "dirty" by any function changing the properties?
Is it really necessary to run through every single GUI every frame? Wouldn't it be enough to check the ones visible, or ones marked as "dirty" by any function changing the properties?