Indexing constant arrays
#2

You shouldn't replace constant arrays with definitions simply for optimization. There are many reasons global constants are preferred and used more widely (just not in SA:MP, due to people simply copying code or learning off other code). Only time I'd really suggesting doing so is to take advantage of the compilers concatenation.
Reply


Messages In This Thread
Indexing constant arrays - by Mauzen - 15.07.2012, 22:47
Re: Indexing constant arrays - by Grim_ - 15.07.2012, 22:50
Re: Indexing constant arrays - by Mauzen - 16.07.2012, 11:09
Re: Indexing constant arrays - by Mauzen - 16.07.2012, 18:27

Forum Jump:


Users browsing this thread: 3 Guest(s)