doc: add performance notes for string building.