New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How to make our code optimised?
How to optimise our code?
2 Answers
+ 2
Shagufta Husain
<blockquote>
Definition and Properties.Ā Code optimizationĀ is any method ofĀ codeĀ modification to improveĀ codeĀ quality and efficiency. A program may beĀ optimizedĀ so that it becomes a smaller size, consumes less memory, executes more rapidly, or performs fewer input/output operations.
</blockquote>
<reference>https://www.viva64.com/en/t/0084/#ID0ECC</reference>
or here is another
<resource>https://www.thegeekstuff.com/2015/01/c-cpp-code-optimization/</resource>
0
To reduce time complexity..
To remove redundant code... & there by
To increase readability...
To use less resources..
Hope these helps you better....
Shagufta Husain :
https://www.gatevidyalay.com/code-optimization-techniques/
https://www.toptal.com/full-stack/code-optimization
https://m.youtube.com/watch?v=46OfTFL8t3A