The other day at work I was working on a project where I would be creating lots of small strings. And by a lot, I mean a lot, on the order of 100s of millions. So, I was wondering what is the most efficient way to deal with using StringBuilder. Building the strings would require dumping the contents of the builders. There are three methods, reallocating a new string builder each time, using sb.setLength(0), or sb.delete(0, sb.length()). Being the empirical scientist that I am, I figured the only way to determine which is the fastest is to profile it.