Original Post
🔒 Locked
Optimizations
Advertisement
parenthesis, eg. ''('' and '')'' don''t generate code themselves, they can control the order of the code generation.
So basically on that front you have nothing to worry about.
As far as removing functions that aren''t used from a binary image, that is the job of the linker.
''strip dead code'' or some other such optimizations for the linker will help reduce code size. but that has no direct impact on performance of the code - it may impact the performance of the application - if it fits in a smaller memory footprint there could be less swap file activity.
So basically on that front you have nothing to worry about.
As far as removing functions that aren''t used from a binary image, that is the job of the linker.
''strip dead code'' or some other such optimizations for the linker will help reduce code size. but that has no direct impact on performance of the code - it may impact the performance of the application - if it fits in a smaller memory footprint there could be less swap file activity.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement