mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 3 1 2 3
#53104 09/10/03 01:50 PM
Joined: Apr 2003
Posts: 426
Fjord artisan
OP Offline
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)
#53105 09/10/03 04:22 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
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
#53106 09/10/03 08:17 PM
Joined: Jun 2003
Posts: 19
U
Pikka bird
Offline
Pikka bird
U
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.

#53107 09/10/03 08:19 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i found that .inis are slower all round, .txts are faster than .mrcs


new username: tidy_trax
#53108 09/10/03 09:38 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Slower? Do you mean like *cough* while loops are slower than gotos?


-KingTomato
#53109 09/10/03 09:48 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
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).

#53110 09/10/03 09:51 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
shush smile


new username: tidy_trax
#53111 09/10/03 11:17 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Quote:
.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.
#53112 10/10/03 12:11 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
.mrc are definitely slower.


new username: tidy_trax
#53113 10/10/03 12:56 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
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
#53114 10/10/03 01:26 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
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
#53115 10/10/03 01:33 AM
Joined: Apr 2003
Posts: 426
Fjord artisan
OP Offline
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 smile


--------
mIRC - fun for all the family (except grandma and grandpa)
#53116 10/10/03 01:38 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
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
#53117 10/10/03 02:37 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
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...

#53118 10/10/03 05:56 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Quote:
i found that .inis are slower all round


I can imagine this.

Quote:
.txts are faster than .mrcs


This is complete BS. txt and mrc are identical. They are the same.

Quote:
.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
#53119 10/10/03 11:05 AM
Joined: Feb 2003
Posts: 307
T
Fjord artisan
Offline
Fjord artisan
T
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 wink

#53120 10/10/03 12:42 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
Quote:
what is your proof to back this up?

back it up?, i dont need to back anything up...


new username: tidy_trax
#53121 10/10/03 03:39 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Then don't waste our time by posting your stupid fraudulent posts.

#53122 10/10/03 03:48 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
you're wasting your own time by replying....


new username: tidy_trax
#53123 10/10/03 04:26 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
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
Page 1 of 3 1 2 3

Link Copied to Clipboard