27.07.2015, 05:10
Quote:
Sн, pienso lo contrario... stock tiene una finalidad que he explicado mбs arriba, no se ha creado para decorar tu script por el amor al arte.
He visto que sabes inglйs, pбsate por aquн y verбs que no soy el ъnico iluminado. Que te vaya bien. |
Obviamente, no leнste lo que puso Jay_ (Utiliza ****** Traductor si quieres).
Quote:
There are a couple of points in this topic that I disagree with.
Is there any evidence to suggest the use of stock has any impact on the code or performance whatsoever? It was highlighted in a previous post that prefixing functions with "stock" is useful for searchability which is an important thing when we have such limited IDE's for PAWN. Yes, you can add preprocesser defines for "function", but if the use of stock doesn't make a difference, why bother? Also, "function" is a very broad term - what about callbacks or mutator methods? |
Quote:
A “stock” function is a function that the pawn parser must “plug into” the program when it is used, and that it may simply “remove” from the program (without warning) when it is not used. Stock functions allow a compiler or interpreter to optimize the memory footprint and the file size of a (compiled) pawn program: any stock function that is not referred to, is completely skipped — as if it were lacking from the source file. |