This greatly increases the performance of long string encodes as we won't need to copy intermediate results over and over.