mirror of
https://github.com/yamadashy/repomix.git
synced 2026-02-11 20:28:51 +01:00
- Extract git diff token calculation into separate worker and dedicated module - Parallelize git diff metrics calculation with other metrics computations using Promise.all - Isolate TokenCounter usage for git diffs within child process worker to prevent memory leaks - Add comprehensive worker cleanup with exit handler for proper resource management - Update tests to reflect new worker-based architecture and remove direct TokenCounter mocking Memory improvements: - Git diff token calculation now runs in isolated child process - Enables parallel execution of all three metrics calculations (files, output, git diff) - Further reduces main process memory footprint by isolating heavy TokenCounter operations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>