Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by Mauzen
Nice to see that stuff actually tested.
Heres another one (that most people probably already are aware of):
pawn Code:
new Float:value = 5.0;
// Slow value = value / 2; // converts to // value = value / float(2);
// Faster value = value / 2.0;
Also applies to any other operations connecting a float and an integer.
Ive once measured the time for that, but it was years ago and I have no idea if the post even still exists in the forum.
|
I already addressed that actually, I just haven't put it in the post yet. I have a lot more tests I didn't toss in the post yet.