Don't preallocate a StringBuf if it won't be used.