mIRC Home    About    Download    Register    News    Help

Print Thread
#241243 31/03/13 01:03 AM
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Hello,

I have scripted an bot on connecting an user to network to save the some whois details into an .ini file via /writeini command but i can't understand why my bot has too much latency after 8mb of the .ini file the bots stucks on /writeini and in $readini , i know that hash tables are faster but why not /writeini too? can someone explain to me please with sample english ? and if there is anyway to fix it?

- Thanks!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Jan 2004
Posts: 1,359
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,359
8 MB is a gigantic ini file. Hash tables are inherently faster because they reside in memory. File access will always be slower.

Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
if i change it to use /write and in .txt file will be faster or same ?


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard