Files
bun.sh/src
Claude Bot 3ae1e5a6e3 perf: optimize memory usage in TLA SCC implementation
Reduced memory allocation by eliminating per-file ArrayLists. Instead of
creating N ArrayLists (one per file), we now use a single reusable buffer
that's cleared and reused for each getNeighbors() call.

This significantly reduces memory usage for large projects with many files,
as most files have few dependencies but we were allocating an ArrayList
for every single file regardless.

Changes:
- Replace per-file adjacency list with a single reusable buffer
- Use existing import_records directly instead of duplicating data
- Pass EdgeIterator by pointer to allow mutable state (the buffer)

Memory improvement: O(N) ArrayLists → O(1) ArrayList
All existing tests continue to pass.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-05 04:31:15 +00:00
..
2025-09-04 18:06:47 -07:00
2025-07-21 13:26:47 -07:00
2025-09-04 18:06:47 -07:00
2025-09-03 18:59:15 -07:00
2025-07-21 13:26:47 -07:00
2025-07-29 19:35:46 -07:00
2025-09-03 15:40:44 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-08-27 06:39:11 -07:00
2025-09-04 18:06:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-09-03 15:40:44 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00