Wednesday, December 13, 2006

Tunning your Code for Performance

When I get a problem about performance issue, The first thing I think are review: loops, comparison and assignments sentences, depending of the kind of project.

In other words:
- Boxing/Unboxing
- Value Types (String, Int, Struct, Class, etc)
- Loops (For each, While, etc)
- Comparison(==, !=, Equals, etc)
- Database Access Topics (DataSet, DataReader, CommandType)
- Exception Handling (Based in Values, Try...Catch)
- Multithreading

I read these articles before:
Effective C# - Performance notes
Performance Tips and Tricks in .NET Applications

No comments:

Google