SA-MP Forums Archive
Which is faster ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Which is faster ? (/showthread.php?tid=407511)



Which is faster ? - cotyzor - 14.01.2013

1.
forward anticheat()
public anticheat()
{

}

2.

function anticheat()
{

}


Re: Which is faster ? - LarzI - 14.01.2013

What is "function" ?
Is it a macro?

Edit: I suspect "function" being the macro
pawn Code:
#define function%0(%1) forward%0(%1); public%0(%1)
So if it is, they're equally fast.