Closed GreasySlug closed 1 year ago
In parse.rs, self.restore(elem) use insert(0, elme) internally. This has an O(n) calc cost for each time this is used VecDeque has a push_front method, which is used
self.restore(elem)
insert(0, elme)
push_front
In parse.rs,
self.restore(elem)
useinsert(0, elme)
internally. This has an O(n) calc cost for each time this is used VecDeque has apush_front
method, which is used