10.06.2016, 16:44
Quote:
You are an idiot. Stock tells the compiler that the function may also not be used and compiler takes more time to compile the script.
|
http://pastebin.com/KB8zrs35
Quote:
No?
Yes, it does. Just check main thread and it explains you why. You are going to have a fresh script with less functions, faster gamemode loading. |
To the date, there is no proof that using "stock" has any impact on the server's performance whatsoever, so why bother giving false claims out? Show your evidence instead.
With or without using "stock", your server WILL perform the same, and even if you have a "cluttered" gamemode (source code). However, whether having a cluttered gamemode or not depends on the programmer. I use the keyword "stock" when creating functions and in dispute of that, I do not leave unused functions laying around.
So, yeah... I do agree that when creating a function (in gamemodes and filterscripts) the keyword "stock" is not a requirement, though. BUT, when there are no differences between using it or not (as long as the user knows the keyword's purpose/use), then people should be able to use "stock" without being told otherwise.
I would also like to say something about this:
Quote:
Why even do that? Just put #define Function at the top of your script then.
Ex. Function Test(); |
And dispute the fact that there is no difference in using stock or that define, so why should people do that anyway?