Skip to content

Compiler: compact program Addr.t #1968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 8, 2025
Merged

Compiler: compact program Addr.t #1968

merged 4 commits into from
May 8, 2025

Conversation

hhugo
Copy link
Member

@hhugo hhugo commented May 6, 2025

Blocks Addr.t are sparse in a program. This can be wasteful when using bitset to encode visited blocks.
The PR propose to "compact" Addr.t in a program if needed.

@hhugo
Copy link
Member Author

hhugo commented May 8, 2025

This reduces memory consumption by ~3 to ~5% on large programs in the benchmarks

@hhugo hhugo merged commit 3d05b15 into master May 8, 2025
37 of 39 checks passed
@hhugo hhugo deleted the compact branch May 8, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant