Does anyone have some good tips on CPU performance optimization programming techniques? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

Does anyone have some good tips on CPU performance optimization programming techniques?

17th Feb 2017, 1:38 PM
Shahar Levy
Shahar Levy - avatar
6 Answers
+ 6
Thank you Ajmal, a lot.
17th Feb 2017, 3:21 PM
Shahar Levy
Shahar Levy - avatar
+ 3
What is CPU?
19th Feb 2017, 6:22 AM
Ruth
Ruth - avatar
+ 3
Central Proccesing unit. Sometimes called the brain of the computer where processing is done.For example if you want to add two numbers using your computer ,the numbers are send to the cpu together with the sign for Proccesing then the result is send back to you after the arithmetic logic unit has completed the calculations.
19th Feb 2017, 10:17 AM
EMILLIO ITAI MARAMBO
EMILLIO ITAI MARAMBO - avatar
+ 2
Never use macros, please, especially in production code. They are inherently evil.
18th Feb 2017, 10:57 PM
Paul Kazakof
Paul Kazakof - avatar
+ 2
so...when u say virtual functions, u mean polymophism?
19th Feb 2017, 10:23 PM
Catalin Popinciuc
Catalin Popinciuc - avatar
+ 1
the most simple answer would be that you should condense your code as much as possible, trying not to unnecessarily repeat long scripts. use simple code and algorithms to accomplish your goal. this with ensure the fastest executing and conservation of cpu power
20th Feb 2017, 8:20 PM
janus
janus - avatar