Download

Which one is more efficient?

Hi all,

If I were to set same style into multiple buttons, which one is more efficient in terms of faster execution (bigger code size doesn’t matter for now)? For option 1, will the engine executing Set Style twice anyway (once per button linked to it’s target)? And if so which button executed first?

Nevermind I did my own test and found out that option 2 have more stable execution time.