Welcome to MSDN Blogs Sign in | Join | Help

August 2008 - Posts

I was looking at some code the other day that does string concatenation with StringCchPrintf(ā€œ%s%sā€). I can imagine how this would have near optimal performance, and a hopeful developer could easily assume that in fact it has been tuned for this kind Read More...
… like a water snake. Which is why we measure, measure and measure again. Even the most obvious rule of thumb can be wrong. I was optimizing some string parsing code (which is almost always ripe for optimization), and trying to reduce the cost of traversing Read More...
 
Page view tracker