View Single Post
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-08-2009 , 14:15   Re: [TUT] Code Styling
Reply With Quote #12

Quote:
Originally Posted by XxAvalanchexX View Post
I thought that I read somewhere that it is more efficient for the assembly to use one "new" statement for all of your vars (where applicable), as opposed to a different "new" for each one. Is there any truth to that?
I don't think so just because of the way the assembly is mapped out. It can't declare a bunch of variables in sequence in a way that would be different from one at a time. Either way, zeroing it is the most expensive part by far and that still happens even when condensing it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552