Skip to content
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

Hash-cons Ty #421

Merged
merged 3 commits into from
Oct 15, 2024
Merged

Hash-cons Ty #421

merged 3 commits into from
Oct 15, 2024

Conversation

Nadrieril
Copy link
Member

This PR hash-conses Ty. This builds on hacspec/hax#996 to avoid runaway memory consumption in the presence of heavily-redundant types (which happens n particular with Sized trait resolution of nested types). This makes charon able to compile rust-crypto crates.

Fixes #325

@Nadrieril Nadrieril changed the title Hash-cons types Hash-cons Ty Oct 15, 2024
@Nadrieril Nadrieril merged commit b1ed995 into AeneasVerif:main Oct 15, 2024
6 checks passed
@Nadrieril Nadrieril deleted the hashcons branch October 15, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Excessive memory consumption on generic_array
1 participant