Raised This Month: $12 Target: $400
 3% 

...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cristian505
Senior Member
Join Date: Oct 2020
Old 10-14-2021 , 07:44   ...
Reply With Quote #1

...

Last edited by Cristian505; 08-10-2022 at 14:25.
Cristian505 is offline
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
Cristian505
Senior Member
Join Date: Oct 2020
Old 10-14-2021 , 07:59   Re: Include CPU
Reply With Quote #3

...

Last edited by Cristian505; 08-10-2022 at 14:25.
Cristian505 is offline
Reply


Thread Tools
Display Modes

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 10:13.


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