Skip to content

Aggressive memory optimizations#510

Draft
jaskarth wants to merge 6 commits intodevelop/1.12.0from
optimize/sparse-sets
Draft

Aggressive memory optimizations#510
jaskarth wants to merge 6 commits intodevelop/1.12.0from
optimize/sparse-sets

Conversation

@jaskarth
Copy link
Member

@jaskarth jaskarth commented Nov 9, 2025

Change sparse sets, sforms maps, and exprent bytecode offsets to prefer non-array backing implementations to prevent extremely sparse arrays and reduce peak memory usage when decompiling very large methods.

@jaskarth jaskarth added Type: Enhancement New feature or request Priority: Medium Medium priority Type: Code Quality Improves the cleanliness or structure of the code labels Nov 9, 2025
@github-actions
Copy link

github-actions bot commented Nov 9, 2025

Test Results

   10 files   -    10     10 suites   - 10   33s ⏱️ -33s
1 299 tests  -   650  1 293 ✅  -   655  1 💤 ±0  5 ❌ +5 
1 300 runs   - 1 294  1 294 ✅  - 1 298  1 💤  - 1  5 ❌ +5 

For more details on these failures, see this check.

Results for commit 2a87a7e. ± Comparison against base commit bd7ed73.

♻️ This comment has been updated with latest results.

@jaskarth jaskarth force-pushed the optimize/sparse-sets branch from 231dd1a to 29a83af Compare November 9, 2025 19:27
@umbrageodotus
Copy link

Maybe make this optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Medium Medium priority Type: Code Quality Improves the cleanliness or structure of the code Type: Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants