09-15-2021, 06:19 AM
Hi
Is there a list somewhere that explains how to optimize?
i explain
Normally in compilers if you put the code in one way it is more efficient than if you put the code in another way
For example you can do
variable ++ or variable = variable + 1
or maybe if you use local variables it is more efficient than if you use global variables
perhaps the compiler translates with fewer bytes and more efficiently one way or another
Is there somewhere a recomended list of tricks to write a more efficient syntax that translates better to assembler
and uses less memory and fewer bytes?
Is there a list somewhere that explains how to optimize?
i explain
Normally in compilers if you put the code in one way it is more efficient than if you put the code in another way
For example you can do
variable ++ or variable = variable + 1
or maybe if you use local variables it is more efficient than if you use global variables
perhaps the compiler translates with fewer bytes and more efficiently one way or another
Is there somewhere a recomended list of tricks to write a more efficient syntax that translates better to assembler
and uses less memory and fewer bytes?