You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably not for this PR, but I wonder how expensive this .find() is. Basically, we need to iterate through the whole trace to find the first HALT row.
One alternative to this is to get the program hash from the last row (excluding the random rows at the end). This should be possible because because the semantics of HALT are such that it copies over the entire state of the VM (including the decoder registers) to the next cycle. So, program hash should be the same in the last row as in the first HALT row.
The text was updated successfully, but these errors were encountered:
Originally posted by @bobbinth in #1333 (comment)
Probably not for this PR, but I wonder how expensive this
.find()
is. Basically, we need to iterate through the whole trace to find the firstHALT
row.One alternative to this is to get the program hash from the last row (excluding the random rows at the end). This should be possible because because the semantics of
HALT
are such that it copies over the entire state of the VM (including the decoder registers) to the next cycle. So, program hash should be the same in the last row as in the firstHALT
row.The text was updated successfully, but these errors were encountered: