Closed Fumuran closed 1 month ago
Also - let's update the changelog.
And a question: do we already have good tests covering this procedure?
In the changelog should I write about change in cycle count and number of locals?
I think that tests for this procedure are fairly decent: we have both basic test and a proptest here.
In the changelog should I write about change in cycle count and number of locals?
I would just say something like "Optimized std::sys::truncate_stuck
procedure".
This small PR changes the implementation of the
sys::truncate_stack
procedure in thestdlib
to make it more efficient, as it was described in the related issue: https://github.com/0xPolygonMiden/miden-vm/issues/1334.