Concatenating with StringBuilders vs. Strings

I would never make a statement so bold as “Use Stringbuilders to concatenate” without having a deeper understanding of the concatenation pattern.  I tend to give advice like “Many users find Stringbuilders useful for their concatenation pattens, consider using them and measure to see if they help you”.  Wussy but safe 🙂OK, now for some…

9

Loop unrolling for speed

I recently saw a posting where someone was considering a great deal of loop unrolling.  I can imagine some exotic case where this is a good idea however in general it’s more likely to be bad that good. For those that aren’t familiar with the term, loop unrolling is where you change code that looks…

1