Raised This Month: $ Target: $400
 0% 

...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-14-2021 , 07:54   Re: Include CPU
Reply With Quote #2

"stock" means optional. If a stock function is not called then it will not be present in the generated binary file(".amxx"). This will save space on the disk because it results in smaller files, but has absolutely no impact on the CPU.
The CPU is used to actually run code. If something is not used/called, it doesn't use the CPU, this should be common sense.

Include files are copy-pasted inside the sma file during the pre-processing step done by the compiler so the code ends up being the same as if you didn't have an inc and wrote everything in the source file.
__________________

Last edited by HamletEagle; 10-14-2021 at 07:55.
HamletEagle is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode