-
Notifications
You must be signed in to change notification settings - Fork 23
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
chore: update Miden VM crates to the commit 1b4609e (next, Sep 5, 2024) #319
base: next
Are you sure you want to change the base?
Conversation
@bitwalker
I added the |
@greenhat Looks like that must have broken as the result of some recent changes, I'll have to look into it |
@greenhat Have you identified where in the compiler the issue is caused? It still seems to me that we must be doing something dumb somewhere, or the issue wouldn't exist in the first place. Our changes to cache the standard library, for example, should have ensured that we aren't re-hashing its MAST forest over and over again, just cloning the structure, which isn't super cheap, but definitely not enough to cause the regression. It also looks to me like the fix I made to cache the standard library isn't working any more, not sure why. But that definitely fixed it before, but I can reproduce the slow tests locally now, and I don't know why it's happening again. I'll take a look if you haven't pinned it down just yet, but wanted to see if you've already found the culprit. |
No.
I agree. The jump seems too big for a cloning but keep in mind that it in proptests, so x256 and in some cases x1024 apply.
Sure. I have not started looking into our side of things anyway. |
I've identified the underlying issue that has caused the explosion in runtime, and it appears to be primarily related to dropping the However, the issue isn't actually resolved by this change - it will also affect large compilation graphs, or tests which use libraries other than The "real" fix is to address the performance issues with loading/dropping libraries in Miden VM, but we can at least switch to |
This fixes #317