I asked questions, the answers to which often came to me in the direction of efficiency. Instead of continuing to ask such questions, I would rather look at efficiency. However, of course, there are many different types of effectiveness. The number of lines in the code, assembly, the time it takes to write, the time it takes for the computer to execute. And I probably missed a lot more ways to look at this.
Since there are so many ways to look at efficiency, I would like to start with , how do you get the assembly code of your own code and stop at the right place inside your code? (Letβs say you have 500 lines of code and you are interested in line 450-460). I'm not sure if this is already a function found in the IDE, if so, how can I find such functions? (= What are the names of such things so that I can find it for my own IDEs if it has this function).
(There is a lot of information about efficiency in Stack Overflow, I looked at many of them, but it was difficult for me to understand that people often start by analyzing their code. Their code, then the assembly, or they just use the IDE to find the most expensive methods and change them in this way? This is a bad question because it, of course, depends on many factors, but I hope to get at least a little more feel it, and I think the answer to this question can help.)
source share