what is more efficient
PHP Code:
what is better . make new APP1 = get_user_armor(id) or just use ShowSyncHudMsg( id, g_MsgSync, "%d %d %d" , iClip, get_user_health(id), get_user_armor(id))[/PHP] |
Re: what is more efficient
Trivial. But if there is no point to create a var, don't do it. I would assume that's something it will be called often and it won't help readability, so creating a variable is unnecessary ; even if trivial, you still avoid some memory/CPU operations.
|
| All times are GMT -4. The time now is 06:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.