Question
#1

I was thinking about making some stuffs short by defining them, i mean for example;

Код:
#define function%0(%1) forward%0(%1); public%0(%1)

function blabla(playerid)
or

Код:
#define format:%0( format(%0, sizeof(%0),

format:somestring("%i", somevar);
My question is, would there be any disadvantage of doing such thing? Like slowing down the code's performance or causing some other problems.
Reply
#2

Hmm, yea it will slow up the code :S, im not sure but you simple just use original codes better
Reply
#3

Quote:
Originally Posted by karemmahmed22
Посмотреть сообщение
Hmm, yea it will slow up the code :S, im not sure but you simple just use original codes better
No thats bullshit.

The pre-compiler is replacing the code with the makro. So there will be no disadvantage!

(except some ms longer compiling)

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)