C++ source code optimisation tricks

Talk about things C/C++, some related to AutoHotkey
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

C++ source code optimisation tricks

Post by jeeswg » 21 Oct 2019, 08:40

Does anyone have any tips for optimising code when editing/adding to the AHK source code?

Every so often, I will see a mention of a trick or approach taken, in the source code, to improve performance or reduce code size. I might occasionally post some of them here, and would welcome others to do the same, and/or post their own tips. Cheers.

Links:
Excessive page faults with Process,Exist - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=14&t=32241&p=297567#p297567
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “C/C++”