Archive for the ‘Compact Framework’ Category

String & StringBuilder performance in the Compact Framework

Here’s a few general guidelines when working with strings: Don’t concatenate strings – use a StringBuilder instead Whenever possible initialize the StringBuilder with enough capacity to avoid re-allocations Excessive concatenation of strings will be several orders of magnitude slower than using a StringBuilder String.Format() & StringBuilder.AppendFormat() are significantly slower than just using the +operator or [...]

Social Icons Digg this page! Add this page to del.icio.us Bookmark this page on Google Bookmark this page on Google

Comments (2)

Single instance applications in Windows CE

I programmed a Windows CE application last month that had as a requirement that only one instance could run at the same time. Had it been Windows Mobile, this had been handled by the OS, but on Windows CE you have to take care of this yourself. I was a bit surprised that there is [...]

Social Icons Digg this page! Add this page to del.icio.us Bookmark this page on Google Bookmark this page on Google

Comments (17)

Profiling for the Compact Framework

Just wanted to share with everyone that there is a .NET Profiler that works with the Compact Framework. It is made by a Danish company called Eqatec and best of all; It is completely free. A long search has ended I have been looking for something like this for several years, but until the Eqatec [...]

Social Icons Digg this page! Add this page to del.icio.us Bookmark this page on Google Bookmark this page on Google

Leave a Comment