Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Nov 30, 2024

  • support gc running
  • don't duplicate field 4
  • remove some unused code only previously needed for handling cycles (which are not valid in IR)
  • avoid serializing ssaflags, which are very large (relative to the rest of the IR) and usually all zeros

sysimg : 159 MB => 157 MB => 154 MB
du -sh usr/share/julia/compiled : 260M => 256 MB => 254 MB

 - support gc running
 - don't duplicate field 4
 - remove some unused code only previously needed for handling cycles
   (which are not valid in IR)
Since most ssavalue are used just after their def, this gives a small
memory savings on compressed IR (a fraction of a percent).
…ll zero

When not all-zero, run-length encoding would also probably be great
here for lowered code (before inference).
@vtjnash vtjnash added the don't squash Don't squash merge label Dec 3, 2024
@vtjnash vtjnash merged commit 35976df into master Dec 4, 2024
8 of 9 checks passed
@vtjnash vtjnash deleted the jn/ircode-cleanup branch December 4, 2024 15:39
serenity4 pushed a commit to serenity4/julia that referenced this pull request May 1, 2025
 - support gc running
 - don't duplicate field 4
- remove some unused code only previously needed for handling cycles
(which are not valid in IR)
- avoid serializing ssaflags, which are very large (relative to the rest
of the IR) and usually all zeros

sysimg : 159 MB => 157 MB => 154 MB
du -sh usr/share/julia/compiled : 260M => 256 MB => 254 MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

don't squash Don't squash merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants