|
Joined: Apr 2003
Posts: 426
Fjord artisan
|
OP
Fjord artisan
Joined: Apr 2003
Posts: 426 |
I'd never really been concerned by this much before, but having an issue with a certain mrc file of mine started me pondering...
Is an .inf based script processed faster/slower/similarly (in terms of speed) as the exact same script in a .mrc (or whatever) file?
I only ask because it seems that my RAW formatting script seemed to run faster as a .inf file than a .mrc file.
-------- mIRC - fun for all the family (except grandma and grandpa)
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
Hoopy frood
Joined: Mar 2003
Posts: 1,271 |
If you are referring to the extension - a mirc script is a basic text file with commands that mirc can interpret. The extension of the file has no influence on that whatsoever. Or shouldn't have.
DALnet #Helpdesk I hear and I forget. I see and I remember. I do and I understand. -Confucius
|
|
|
|
Joined: Jun 2003
Posts: 19
Pikka bird
|
Pikka bird
Joined: Jun 2003
Posts: 19 |
I think he means INI file extensions, mirc offers INI and MRC by default. When you save it has a .ini, mirc likes to format the file like this:
[script] n0=line 1 n1=line 2 n3=line 3 etc...
However, if you save as anything else, it will be saved as plain text:
line 1 line 2 line 3 etc...
So in theory, .mrc should be faster to load than .ini, but mirc keeps scripts in memory, so events like on join should be just as fast either way.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
i found that .inis are slower all round, .txts are faster than .mrcs
new username: tidy_trax
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
Slower? Do you mean like *cough* while loops are slower than gotos?
-KingTomato
|
|
|
|
Joined: Dec 2002
Posts: 2,809
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,809 |
Heh, well I'd tend to agree with him here, I dunno if mIRC uses the built in windows ini functions, but if it does, they are incredibly slow (and ugly). But, if mIRC uses it's own ini reading code, then you'd need to perform some tests to find out, but logic suggests that the .ini file would be slower if not for the simple fact that it has more information to read (the n1= crap).
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
shush
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 2,962
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,962 |
.txts are faster than .mrcs .mrc files are .txt files, just with a different extension. I haven't tested but I'm 99% sure there won't be any speed difference between them, if there is then I'd probably consider it a bug in mIRC.
Spelling mistakes, grammatical errors, and stupid comments are intentional.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
.mrc are definitely slower.
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 1,527
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,527 |
im really thinking u have absolutly no idea what the concept of time is. how have u tested this opinion u have? what is your proof to back this up? simply stating it definatly is faster isnt going to get u any points in the your right catagory. when u make a claim u need to have some sort of proof to back it up ..... not just a belief u happen to stumbled upon.
D3m0nnet.com
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
his script order is most likely
Remote01.txt Remote02.txt Remote03.txt Remote04.txt Remote05.txt Remote06.mrc
And it has to execute 5 txt's before an mrc, thus making it "slower"
-KingTomato
|
|
|
|
Joined: Apr 2003
Posts: 426
Fjord artisan
|
OP
Fjord artisan
Joined: Apr 2003
Posts: 426 |
Sorry, yes, I did mean .ini Silly little typo of mine. Anyway. I currently have 16 script files (I like to seperate as much code into different sections as possible), and they are all .mrc files. As someone pointed out, the file in question is at the lower end (its the 14th script) of the "food chain", so I suspect this could have something to do with it. Anyway, cheers for the replies
-------- mIRC - fun for all the family (except grandma and grandpa)
|
|
|
|
Joined: Dec 2002
Posts: 1,527
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,527 |
ive never seen any difference in txt and mrc based reading. I think hes just basing it on an assumption somewhere as ive never been able to prove one was faster than the other.
D3m0nnet.com
|
|
|
|
Joined: Dec 2002
Posts: 2,809
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,809 |
An extension should make no difference, it's the contents that make a difference. A .ini has more information than a .mrc. A .txt and a .mrc have exactly the same information, there should not be any speed difference. In my reply I was simply commenting on the ini slower than mrc portion of his post, I didn't even notice the comment about .txt vs .mrc, I guess mainly because I didn't expect anyone to say something like that...
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
Hoopy frood
Joined: Mar 2003
Posts: 1,271 |
i found that .inis are slower all round I can imagine this. .txts are faster than .mrcs This is complete BS. txt and mrc are identical. They are the same. .mrc are definitely slower. Here we go again. Your point has no value whatsoever unless you specify reproducible evidence of it. Until then it's just another round of "This is what I think so that is how it is" BS we went through a while back about yoiur consistent whining about goto loops on your system. An utter waste of time. Please produce the code which can prove your claim or stop talking about it.
DALnet #Helpdesk I hear and I forget. I see and I remember. I do and I understand. -Confucius
|
|
|
|
Joined: Feb 2003
Posts: 307
Fjord artisan
|
Fjord artisan
Joined: Feb 2003
Posts: 307 |
well, to solve this problem i made some tests with this code alias teste_speed { var %i = 0, %time = $ticks while (%i < 100000) { inc %i } echo total time $calc($ticks - %time) } i tested the average times is .txt .mrc and .ini the times that the alias took to run were the same iven for the ini file that has extra chars in it!! you can try for your self no need to thank me
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
what is your proof to back this up? back it up?, i dont need to back anything up...
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 2,809
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,809 |
Then don't waste our time by posting your stupid fraudulent posts.
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
you're wasting your own time by replying....
new username: tidy_trax
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
Hoopy frood
Joined: Mar 2003
Posts: 1,271 |
We've been here before dude, in case you don't remember. A statement which is the opposite of what abnyone believes should always be accompanied with evidence. Otherwise you're just wasting time and bandwidth, as no one will take you seriously. So if you want what you say to be taken seriously, stop acting like a baby and present your evidence. Otherwise, don't bother typing it out as no one will give you any leverage whatsoever.
DALnet #Helpdesk I hear and I forget. I see and I remember. I do and I understand. -Confucius
|
|
|
|
|