Quote:
Originally Posted by Freezo Begin
Well its not wrong static is much faster.
|
Saying it that way is really bad as someone new to Pawn would understand your sentence as "always use
static instead of
new, because it's much faster". It's not "much" faster, and it's really trivial with arrays made of so few elements.
In a forward (ChangeName in this case) that's called not-so-often it really depends on the coder. Some might want to sacrifice some memory(with
static), and some might want to sacrifice like a microsecond of execution time (with
new). Both are correct choices in this case, no reason to fight over that.