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

Cache Name computation #310

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Cache Name computation #310

merged 1 commit into from
Aug 14, 2024

Conversation

Nadrieril
Copy link
Member

@Nadrieril Nadrieril commented Aug 14, 2024

We compute names a lot (e.g. every time we translate a type, to check if it refers to a built-in). This makes a significant difference in debug mode (~30% speedup when running make generate-ml), not so much when charon is compiled in release mode.

@Nadrieril Nadrieril merged commit d8a0249 into AeneasVerif:main Aug 14, 2024
6 checks passed
@Nadrieril Nadrieril deleted the cache-name branch August 14, 2024 10:52
@sonmarcho
Copy link
Member

Oh wow, I hadn't realized it was that expensive 😱

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.

2 participants