SA-MP Forums Archive
Function performing takes 30-45 seconds, why? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Function performing takes 30-45 seconds, why? (/showthread.php?tid=195037)



Function performing takes 30-45 seconds, why? - Jakku - 01.12.2010

Solved


Re: Function performing takes 30-45 seconds, why? - Donny_k - 01.12.2010

The solution is native file IO, that's twenty of open/write/close.


Re: Function performing takes 30-45 seconds, why? - Jakku - 01.12.2010

That's pretty strange because two days ago it worked fine xD


Re: Function performing takes 30-45 seconds, why? - Donny_k - 01.12.2010

Well maybe your HDD is dying from all those IO operations it has to do, maybe your computer was busy with something else at the time of use, trust me either way Dini is slow and HDD intensive.


Re: Function performing takes 30-45 seconds, why? - Jakku - 01.12.2010

----.


Re: Function performing takes 30-45 seconds, why? - Jakku - 01.12.2010

Quote:
Originally Posted by ******
Посмотреть сообщение
dudb uses dini
I know it.

Anyway, I deleted some useless lines and now it seems to be working fine. Thanks anyway


Re: Function performing takes 30-45 seconds, why? - Scenario - 01.12.2010

Why don't you try "y_ini" or even MySQL?


Re: Function performing takes 30-45 seconds, why? - Jakku - 01.12.2010

Probably I should..