mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 3 1 2 3
mrc vs inf #53104 09/10/03 01:50 PM
Joined: Apr 2003
Posts: 426
neophyte Offline OP
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)
Re: mrc vs inf #53105 09/10/03 04:22 PM
Joined: Mar 2003
Posts: 1,271
L
LocutusofBorg Offline
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
Re: mrc vs inf #53106 09/10/03 08:17 PM
Joined: Jun 2003
Posts: 19
U
UrbanPuppet Offline
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.

Re: mrc vs inf #53107 09/10/03 08:19 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
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
Re: mrc vs inf #53108 09/10/03 09:38 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Slower? Do you mean like *cough* while loops are slower than gotos?


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

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


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


new username: tidy_trax
Re: mrc vs inf #53113 10/10/03 12:56 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
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
Re: mrc vs inf #53114 10/10/03 01:26 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
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
Re: mrc vs inf #53115 10/10/03 01:33 AM
Joined: Apr 2003
Posts: 426
neophyte Offline OP
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)
Re: mrc vs inf #53116 10/10/03 01:38 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
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
Re: mrc vs inf #53117 10/10/03 02:37 AM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
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...

Re: mrc vs inf #53118 10/10/03 05:56 AM
Joined: Mar 2003
Posts: 1,271
L
LocutusofBorg Offline
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
Re: mrc vs inf #53119 10/10/03 11:05 AM
Joined: Feb 2003
Posts: 307
T
tontito Offline
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

Re: mrc vs inf #53120 10/10/03 12:42 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
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
Re: mrc vs inf #53121 10/10/03 03:39 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Then don't waste our time by posting your stupid fraudulent posts.

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


new username: tidy_trax
Re: mrc vs inf #53123 10/10/03 04:26 PM
Joined: Mar 2003
Posts: 1,271
L
LocutusofBorg Offline
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