Optimize `ContinueRequest` when dealing with huge amount of steps
Clarification and motivation
Continuation from #80 (closed), when trying to run Continue
command on a loop contract, it can take a really long time. Replacing List
with DList
does not really improve the performance much, we should research more on what can be improved.
Acceptance criteria
- Figure out what is the main bottleneck when running
Continue
command on a loop contract - Fix the bottleneck