MarkdownHeaderTextSplitter suffers O(n²) slowdown when merging many paragraphs under the same header
aggregate_lines_to_chunks() repeatedly appends to a growing string, causing quadratic time complexity when many adjacent lines share the same metadata. The issue is observable with large inputs (e.g., 16,000 paragraphs take ~5.8 seconds) and becomes progressively worse.
