Free Associations

When a codger is a coder.

August, 2008

Posts
  • Free Associations

    Watch out for sprintf()!

    • 0 Comments
    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...
  • Free Associations

    Performance work is slippery

    • 1 Comments
    … 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...
Page 1 of 1 (2 items)