[Plugin] PawnPlus
#25

Quote:
Originally Posted by corne
View Post
Once again dissapointed, seems to be much slower than SA:MP alternatives, either that or I'm just shit at benchmarking, both are possible.
Using str_new("Haha, this is a benchmark") is expected to se slower, since you are creating many instances of the same string (and computing its length every time). Using one instance will be better. strcat will eventually turn into a strlen, and SetSVarString might be faster, because both the SVar pool and the map are really small. Try benchmarking it with > 10 elements.
Reply


Messages In This Thread
PawnPlus v0.5 - by IS4 - 26.04.2018, 09:59
Re: PawnPlus - by Dice_ - 26.04.2018, 11:51
Re: PawnPlus - by Gammix - 26.04.2018, 15:55
Re: PawnPlus - by SyS - 26.04.2018, 16:24
Re: PawnPlus - by ikkentim - 26.04.2018, 16:44
Re: PawnPlus - by cuber - 26.04.2018, 17:24
Re: PawnPlus - by CaioTJF - 26.04.2018, 17:30
Re: PawnPlus - by Kaperstone - 26.04.2018, 18:58
Re: PawnPlus - by IS4 - 26.04.2018, 19:53
Re: PawnPlus - by std - 27.04.2018, 06:39
Re: PawnPlus - by Moldova - 15.07.2018, 11:40
Re: PawnPlus - by IS4 - 24.07.2018, 12:36
Re: PawnPlus - by Ivan_Ino - 24.07.2018, 15:51
Re: PawnPlus - by IS4 - 24.07.2018, 17:23
Re: PawnPlus - by Ivan_Ino - 24.07.2018, 21:24
Re: PawnPlus - by Banditul18 - 24.07.2018, 22:05
Re: PawnPlus - by IS4 - 25.07.2018, 10:24
Re: PawnPlus - by Netherland - 02.08.2018, 18:28
Re: PawnPlus - by DBZdabIt3Bro7 - 06.08.2018, 18:52
Re: PawnPlus - by IS4 - 08.08.2018, 01:39
Re: PawnPlus - by corne - 24.09.2018, 12:30
Re: PawnPlus - by Danielknow - 24.09.2018, 15:44
Re: PawnPlus - by IllidanS4 - 24.09.2018, 16:13
Re: PawnPlus - by corne - 26.09.2018, 17:48
Re: PawnPlus - by IllidanS4 - 26.09.2018, 21:02

Forum Jump:


Users browsing this thread: 1 Guest(s)