01.05.2016, 22:54
Nice to see that stuff actually tested.
Heres another one (that most people probably already are aware of):
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.
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;
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.