For a large number of strings/characters, it is necessary to separate buffer creation and rendering.
Performance evaluation.