Your edit to https://en.wikichip.org/wiki/mirc/optimization stating that "/set -l" is faster than "/var" is simply untrue. I have benchmarked both statements - 100,000 iterations of "/var %a 1000" takes 2313ms on my PC, and the same number of iterations of "/set -l %a 1000" takes 2344ms. I am going to revert that edit. If you want to have a copy of my benchmark script, happy to share it with you. Sophist (talk) 14:13, 11 September 2018 (EDT)
Apologies - benchmark command was incorrect - revised timings are 2750ms for 100,000 "var %a 1000" and 2610ms for "set -l %a 1000". So whilst it is 5% faster, "multiple /set -l to set local variables is NOT much faster than /var because /var has to parse the line and call /set for each variable anyway". Sophist (talk) 14:20, 11 September 2018 (EDT)
Hey, /set -l is much faster regardless of the number of variable to be set. I'm not going to write a benchmark script for it, you can do it if you want, but it's only logical. Please don't revert my edit as I wrote a major part of wikichip/mirc, what I wrote is very well tested and is almost always proof read. I'm objective, so if you think something is wrong, please talk about it on swiftirc.net #mircscripting, if your benchmark is proving stuff, I'll edit the page.
So what, then, is the evidence that "/set -l" is "much faster" if you have not benchmarked it? And just exactly how am I supposed to know that such things need to be discussed on swiftirc.net #mircscripting? Psychic telepathy perhaps? Sophist (talk) 17:05, 12 September 2018 (EDT)