From WikiChip
Difference between revisions of "User talk:Ouims"

m
Line 10: Line 10:
  
 
I have benchmarked it in the past, with a simple script but also in practice with my picwin game, I was just saying I'm not going to attempt to demonstrate it to you, or not in here. You're not supposed to know about swiftirc as it's nothing official (still no need to be on the defense like that). It's just that I wrote a lot for wikichip/mirc by myself, from a point where everything had to be done and it pains me when people edit stuff and replace them with wrong stuff, I'm not saying you did (except maybe for this case but at least you're communicating about it) but it happened. So I have no more right to edit stuff than you do but I feel like I do and i'm like "how people dare to say there are going to revert MY change". In any case, on #mircscripting there are at least Wiz, maroon and myself, which I believe with you are the major contributors, so it would be nice to have you there, if not for wikichip, for mIRC :). I see that you didn't put back the bit on /set -l, I'll wait for your reply here, please either show me /set -l is not faster in some cases, or tell me it is and that you're going to put it back! [[User:Ouims|Ouims]] ([[User talk:Ouims|talk]]) 07:51, 13 September 2018 (EDT)
 
I have benchmarked it in the past, with a simple script but also in practice with my picwin game, I was just saying I'm not going to attempt to demonstrate it to you, or not in here. You're not supposed to know about swiftirc as it's nothing official (still no need to be on the defense like that). It's just that I wrote a lot for wikichip/mirc by myself, from a point where everything had to be done and it pains me when people edit stuff and replace them with wrong stuff, I'm not saying you did (except maybe for this case but at least you're communicating about it) but it happened. So I have no more right to edit stuff than you do but I feel like I do and i'm like "how people dare to say there are going to revert MY change". In any case, on #mircscripting there are at least Wiz, maroon and myself, which I believe with you are the major contributors, so it would be nice to have you there, if not for wikichip, for mIRC :). I see that you didn't put back the bit on /set -l, I'll wait for your reply here, please either show me /set -l is not faster in some cases, or tell me it is and that you're going to put it back! [[User:Ouims|Ouims]] ([[User talk:Ouims|talk]]) 07:51, 13 September 2018 (EDT)
 +
 +
I have reinstated the section and extended it with more options and a benchmark. [[User:Sophist|Sophist]] ([[User talk:Sophist|talk]]) 12:42, 13 September 2018 (EDT)
  
 
On the $hfind page you have just added: "''Note''': there are no convenient way to stop the $hfind search, using {{mIRC|/halt}} from the command parameter (or inside the alias) will halt the full script." I am really not sure what this means. I can quite believe that with a large hash table, a $hfind call might take some time, but given the single threaded nature of mIRC I cannot see how you can issue a /halt command. Or have I misunderstood? [[User:Sophist|Sophist]] ([[User talk:Sophist|talk]]) 06:51, 15 December 2019 (EST)
 
On the $hfind page you have just added: "''Note''': there are no convenient way to stop the $hfind search, using {{mIRC|/halt}} from the command parameter (or inside the alias) will halt the full script." I am really not sure what this means. I can quite believe that with a large hash table, a $hfind call might take some time, but given the single threaded nature of mIRC I cannot see how you can issue a /halt command. Or have I misunderstood? [[User:Sophist|Sophist]] ([[User talk:Sophist|talk]]) 06:51, 15 December 2019 (EST)
 
I have reinstated the section and extended it with more options and a benchmark. [[User:Sophist|Sophist]] ([[User talk:Sophist|talk]]) 12:42, 13 September 2018 (EDT)
 

Revision as of 07:51, 15 December 2019

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)

I have benchmarked it in the past, with a simple script but also in practice with my picwin game, I was just saying I'm not going to attempt to demonstrate it to you, or not in here. You're not supposed to know about swiftirc as it's nothing official (still no need to be on the defense like that). It's just that I wrote a lot for wikichip/mirc by myself, from a point where everything had to be done and it pains me when people edit stuff and replace them with wrong stuff, I'm not saying you did (except maybe for this case but at least you're communicating about it) but it happened. So I have no more right to edit stuff than you do but I feel like I do and i'm like "how people dare to say there are going to revert MY change". In any case, on #mircscripting there are at least Wiz, maroon and myself, which I believe with you are the major contributors, so it would be nice to have you there, if not for wikichip, for mIRC :). I see that you didn't put back the bit on /set -l, I'll wait for your reply here, please either show me /set -l is not faster in some cases, or tell me it is and that you're going to put it back! Ouims (talk) 07:51, 13 September 2018 (EDT)

I have reinstated the section and extended it with more options and a benchmark. Sophist (talk) 12:42, 13 September 2018 (EDT)

On the $hfind page you have just added: "Note': there are no convenient way to stop the $hfind search, using /halt from the command parameter (or inside the alias) will halt the full script." I am really not sure what this means. I can quite believe that with a large hash table, a $hfind call might take some time, but given the single threaded nature of mIRC I cannot see how you can issue a /halt command. Or have I misunderstood? Sophist (talk) 06:51, 15 December 2019 (EST)