Hello There, Guest! Login or Register


Efficient Compiling
#1
Just stumbled across this:

http://forum.sa-mp.com/showthread.php?t=249897

And it does actually make quite a difference! I'd recommend doing it.
Reply
#2
I'll try it when I come back home.  :)
Reply
#3
Quote:OK, forget everything previously said and listen to Wyu instead - that is a feature I never knew about!


Quote:For those who use pawno, there's a less tricky way to do the same - just create a file called "pawn.cfg" in pawno directory with the following content:

Code:
-O2 -d0 -r

Edit:
It seems that SA-MP does not support optimization lol

Edit2:
-O1 works fine

Quote:"-d0" removes some extra code from the AMX which isn't needed (hence "slightly" better build).  The XML file isn't needed at all but is useful.

Reply