Optimising is a process, it isn’t one specific thing you do. Basically any change you make to improve program performance is optimisation, and that’s generally achieved by using fewer system resources.
It can be anything including removing unnecessary code, simplifying complex code, taking shortcuts, hardcoding things with safe assumptions, using different code that works better with certain platforms/hardware. Sometimes you can tweak things to achieve massive performance gains with minimal noticeable impact.
Optimising is a process, it isn’t one specific thing you do. Basically any change you make to improve program performance is optimisation, and that’s generally achieved by using fewer system resources.
It can be anything including removing unnecessary code, simplifying complex code, taking shortcuts, hardcoding things with safe assumptions, using different code that works better with certain platforms/hardware. Sometimes you can tweak things to achieve massive performance gains with minimal noticeable impact.
Optimizing code is basically finding some section of code that is taking up a lot of processing time and (a) skipping doing things that are not necessary such as rendering a tree that is never seen, (b) pushing necessary calculations to specialized hardware that can do it faster, (c) implementing a different algorithm that achieves the same result with lower resources but is more complicated, or (d) removing the feature because it is not needed.
Optimizing code is basically finding some section of code that is taking up a lot of processing time and (a) skipping doing things that are not necessary such as rendering a tree that is never seen, (b) pushing necessary calculations to specialized hardware that can do it faster, (c) implementing a different algorithm that achieves the same result with lower resources but is more complicated, or (d) removing the feature because it is not needed.
Optimizing code is basically finding some section of code that is taking up a lot of processing time and (a) skipping doing things that are not necessary such as rendering a tree that is never seen, (b) pushing necessary calculations to specialized hardware that can do it faster, (c) implementing a different algorithm that achieves the same result with lower resources but is more complicated, or (d) removing the feature because it is not needed.
Latest Answers