Reduce the number of append/extend operations by directly accessing the generated content buffer