I am writing an application that I need to run at an incredibly low processor speed. The application creates and destroys memory in a creative style throughout its launch, and it works fine. What compiler optimizations are happening, so I can try to do this?
One trick is that the CLR processes arrays much faster than lists, so if you need to process tons of items in a list, you might be better off not calling ToArray () and processing it, rather than calling ElementAt () again and again.
source
share