.net - Optimization techniques in C# -


I'm thinking about what kind of optimization techniques people use nowadays I have people with the dictionary and everyone at all times Have seen for caching. Is business location the only way to speed?

There are often problems with algorithms, usually when something inside the loop is usually expensive, which is the first It is your application, which will tell you the slowest part of the application. Generally, depending on what you do to increase the speed of your application, depending on what you find. For example, if your app copies the file system, then you may be constantly calling the database (for example) to travel to the tree. You can customize the case by turning that recurring call into a flat database call, which gives all the data in a call.

Again, as always, 'it depends', however, more examples and advice may be found (browse back in a few years because their focus has shifted):


Comments