Optimizing [enums or simple variables]
#1

Just a simple question, to experienced members
What is faster and more optimized

PHP код:
new pKills[MAX_PLAYERS];
new 
pDeaths[MAX_PLAYERS];
new 
pSpree[MAX_PLAYERS];
new 
pAdmin[MAX_PLAYERS];
new 
pVip[MAX_PLAYERS]; 
Or

PHP код:
enum pInfo {
pKillspDeathspSpreepAdminpVip
};
new 
Info[MAX_PLAYERS][pInfo
Reply


Messages In This Thread
Optimizing [enums or simple variables] - by Shinja - 05.08.2016, 23:04
Re: Optimizing [enums or simple variables] - by Sanady - 05.08.2016, 23:08
Re: Optimizing [enums or simple variables] - by Vince - 05.08.2016, 23:09

Forum Jump:


Users browsing this thread: 1 Guest(s)