Code Optimization
#4

I doubt you will see any serious improvement. That "trick" assigns a variable to another variable whereas you're assigning a constant to a variable. That's a huge difference. As for the enum thing:

PHP код:
static const EMPTY_VARS[myenum];
Player[playerid] = EMPTY_VARS
Very simple.
Reply


Messages In This Thread
Code Optimization - by DusanInfinity - 03.10.2015, 12:24
Re: Code Optimization - by x3378 - 03.10.2015, 12:40
Re: Code Optimization - by DusanInfinity - 03.10.2015, 14:39
Re: Code Optimization - by Vince - 03.10.2015, 15:05
Re: Code Optimization - by DusanInfinity - 04.10.2015, 11:23
AW: Re: Code Optimization - by Nero_3D - 04.10.2015, 12:07

Forum Jump:


Users browsing this thread: 2 Guest(s)