[Tutorial] Benchmarking
#21

Quote:
Originally Posted by GrimR
View Post
Aha well that clears that up lol.

I still don't understand why it worked with IsPlayerConnected but not passing my enumeration array, but I will try this when I can and see if I get a better result.
Basically, the code was run way more than 499 times. That means j would go way beyond the max size of the enum array, causing an boundary overrun. IsPlayerConnected validates the argument (i.e. if larger than 499, return invalid), so it never causes any errors.
Reply


Messages In This Thread
Benchmarking - by Slice - 30.01.2011, 10:11
Re: Benchmarking - by SlashPT - 30.01.2011, 10:16
Re: Benchmarking - by iMonk3y - 30.01.2011, 11:04
Re: Benchmarking - by On_Top_Non_Stop - 05.02.2011, 19:36
Re: Benchmarking - by MrDeath537 - 05.02.2011, 22:41
AW: Benchmarking - by Nero_3D - 05.02.2011, 22:45
Re: Benchmarking - by legodude - 06.02.2011, 08:41
Re: Benchmarking - by JaTochNietDan - 06.02.2011, 08:52
Re: Benchmarking - by legodude - 06.02.2011, 08:52
Re: Benchmarking - by JaTochNietDan - 06.02.2011, 08:53
Re: Benchmarking - by [03]Garsino - 06.02.2011, 08:53
Respuesta: Benchmarking - by luis_lpv_22 - 06.02.2011, 10:57
Re: Benchmarking - by MadeMan - 06.02.2011, 11:16
Re: Benchmarking - by Slice - 06.02.2011, 15:03
Re: Benchmarking - by Lorenc_ - 13.10.2011, 10:28
Re: Benchmarking - by GrimR - 18.10.2011, 09:02
Re: Benchmarking - by Slice - 18.10.2011, 09:40
Re: Benchmarking - by GrimR - 18.10.2011, 09:43
Re: Benchmarking - by Slice - 18.10.2011, 10:30
Re: Benchmarking - by GrimR - 18.10.2011, 10:35
Re: Benchmarking - by Slice - 18.10.2011, 10:58
Re: Benchmarking - by GrimR - 18.10.2011, 11:11
Re: Benchmarking - by GrimR - 18.10.2011, 22:26
Re: Benchmarking - by Slice - 31.10.2011, 17:48
AW: Benchmarking - by Nero_3D - 31.10.2011, 19:38
Re: Benchmarking - by TheArcher - 14.11.2011, 12:24
Re: Benchmarking - by Yousha_Aleayoub - 18.11.2012, 12:23
Re: Benchmarking - by ||123|| - 27.11.2013, 09:35
Re: Benchmarking - by Emmet_ - 27.11.2013, 10:11
Re: Benchmarking - by newbie scripter - 27.11.2013, 10:18
Re: Benchmarking - by Emmet_ - 27.11.2013, 10:20
Re: Benchmarking - by Sublime - 27.11.2013, 10:26
Re: Benchmarking - by ||123|| - 28.11.2013, 11:40
Re: Benchmarking - by AndreiWow - 30.01.2017, 22:11

Forum Jump:


Users browsing this thread: 3 Guest(s)