mirror of
https://github.com/yamadashy/repomix.git
synced 2026-10-12 21:50:08 +02:00
- Replace string += with array accumulation + join('\n') in mergeAdjacentChunks
to avoid O(k²) copying when merging adjacent tree-sitter code chunks
- Extract searchInLines from searchInContent in grepRepomixOutputTool so
performGrepSearch splits content once and reuses the lines array for both
search and formatting, avoiding a redundant O(n) split on large files