Answer the question
In order to leave comments, you need to log in
I am learning C# in the process, I am writing in unity, how do I learn to optimize my code and from what sources can I get information on code optimization?
Advise some resource or a book or video tutorials on code optimization (I apologize in advance if I spelled a word incorrectly, I speak badly and write in Russian :))
Answer the question
In order to leave comments, you need to log in
The plan is this:
1. You learn the base of the language, well, so that you get an understanding, at least vaguely, how something works. This is Richter, Skit and company.
2. A lot of litcode to understand how to write algorithmically optimally.
3. Understanding profilers, load testing, and so on in order to be able to model and analyze various situations. You do not just do optimization, but to achieve a certain result.
4. Then you watch a video from a conference of various people, here Holstein was recommended, which is also not bad.
5. You repeat this cycle several times, and now you intuitively begin to understand how to write or not. But in the vast majority of cases, only the first 3 points will come in handy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question