mIRC Home    About    Download    Register    News    Help

Print Thread
#181608 27/07/07 03:20 PM
Joined: Jul 2007
Posts: 30
I
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Jul 2007
Posts: 30
How do we optimize MIRC?
It seems mine (version 6.21) the latest version
is running quite sluggish at times. It has Tat's Trivia Bot running on. I'm on P4, windows XP SP2 with 1 Gig Ram.

Thanks in advance.

ispukikoy #181611 27/07/07 06:32 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Some factors could be the script that is loaded in your bot's mIRC or maybe because of the internet connection or due to the server your bot is connected to.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
xDaeMoN #181612 27/07/07 06:44 PM
Joined: Jul 2007
Posts: 30
I
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Jul 2007
Posts: 30
Hmm... thank you for that input...
I only run tat's trivia bot that accesses a question file of 42 MB.. aside from that, i only run a !seen script... that's all...
the server i am connecting to is quite fast www.gay.com and i am on DSL...

I observe that it became more sluggish when I lenghten the question file and it became 42 mb in size and when i added the
!seen script.

ispukikoy #181632 28/07/07 12:48 AM
Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Disk access is painfully slow compared to ram (especially when mIRC is doing the accessing)... With such a large data file and since you have so much ram, you would benefit from loading the entire file into memory by using a hash table (for lack of a better mIRC data structure).


NaquadaBomb
www.mirc-dll.com
Joined: Jul 2007
Posts: 30
I
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Jul 2007
Posts: 30
so what am i gonna do with " you would benefit from loading the entire file into memory by using a hash table"

I dont understand frown

ispukikoy #181736 30/07/07 04:43 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Regretfully, Tat's trivia, or at least the version that I have, is configured to use the information from the disk, rather than a hash table.
Someone might want to re-write the script to use a hash table, but I'm not going to do it at the moment (just too long a day).

If you're knowledgeable about scripting, you might look at /help hash tables

ispukikoy #181746 30/07/07 02:10 PM
Joined: Jul 2007
Posts: 30
I
Ameglian cow
OP Offline
Ameglian cow
I
Joined: Jul 2007
Posts: 30
OK.. Now I understand. Thanks RusselB. I dont have the knowledge on scripting, so I guess I might have to bear with the script accessing data from disk rather than hash table.

Thank you so much and regards.


Link Copied to Clipboard