Suppose I have to perform 3 tasks :
Task A: Which operates every 5 Seconds
Task B: Which operates every 12 second
Task C: Which operates every 21 second and so on
So what will be more efficient ,
Using 3 different clock component of time interval 5, 12 & 21 seconds
Using only 1 clock component on 1-sec interval which uses modulus to perform the tasks
eg :
on clock.timer
n = n + 1
if n%5=0 : then A
else if n%12=0 then B etc.
Which of the two methods will be more efficient and less laggy. Assume that I am using 12-15 clock components.
Even though I had given even all necessary information in first post , however what more I can tell is. In a game I am using many clock components to call certain actions after specific time interval.
Do using multiple(15-20) clock components hinder performance and speed of app ?
Thanks for teching me English but for now I am more interested in getting solution of my question instead of reading about origin and history of “efficiency”. Everyone use and understand the word in this way. No offence
I can give you list of all topics Kodular community where word “efficient way” is used but that will go offtopic what this post has already become. Please just type efficient in Kodular search bar and read their usage in sentence in first 5 - 6 post in search result.
You are not wrong but I am not a English teacher sorry. I am not even native English speaker so please forgive my english mistakes.
I only ask that problems be formulated clearly and unambiguously. And this in simple terms that are understandable for everyone (including me). So everyone is helped.