How to make our code optimised? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make our code optimised?

How to optimise our code?

24th May 2020, 8:59 PM
Shagufta Husain
Shagufta Husain - avatar
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>
24th May 2020, 9:10 PM
BroFar
BroFar - avatar
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
24th May 2020, 9:13 PM
Jayakrishna šŸ‡®šŸ‡³