Prune unneeded stack versions based on a depth criteria
This commit is contained in:
parent
d6579956f5
commit
eccb3893eb
4 changed files with 20 additions and 2 deletions
|
|
@ -384,6 +384,7 @@ ErrorStatus ts_stack_error_status(const Stack *self, StackVersion version) {
|
|||
.cost = head->node->error_cost,
|
||||
.count = head->node->error_count,
|
||||
.push_count = head->push_count,
|
||||
.depth = head->depth,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue