How much slower? A LOT compared to easyness of doing it with a single group, even having a single Chronosphere att.
how much is "a lot"?, please benchmark so we can talk with precision.
oh wait, are you talking about the group optimization?, i thought you were talking about the utility.
Your "easiliy modified to use another group" is still bad. Still creating temp-groups to handle the stuff. Read again about USING A SINGLE GLOBAL GROUP AND CLEARING IT.
you're right, also pick every unit ... in gui leaks.
You're still using (Picked Unit) like 10 times, when you should do it only once to store it in a variable.
yes, tiny optimization but yes. remember, it's just an example.
How much slower/unneficient? Enough to be considered slow and unneficient compared to other approaches.
Will be laggy? Depends on how many stuff are happenning at the same time.
did you test it?, how did you end up with that conclusion?
edit: this is for the optimizations that you mentioned?
Is it worth compared to your gain? Yes, is it worth investing one or two minutes on improving it, since it's really easy to do it.
i was talking about using the utility, not those optimizations.
Your script isn't also THAT easy to read. Requires understanding your other system. I would reather invest that on learning how to read the JASS version
... yes, it is easy to read, it is more than when using indexing.
requires understanding on the utility, yes, a little bit, just how to save and retrieve data... how hard can that be?
jass would take you a little bit more of time, but yes, you could. remember that not everyone is interested in learning jass, they just want to make things, and make it quickly, and that is the goal of the utility.