View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 07-02-2015 , 16:14   Re: Global Offensive Mod v1.0p
Reply With Quote #7

Quote:
Originally Posted by Freezo Begin View Post
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.
klippy is offline