Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert
TraverseState::new_goals
and TraverseState::removed_goals
…
… into `std::vector` and push/pop instead of insert/erase. These containers were never used to check set membership during the loop, it was practically being used to later construct a set after the algorithm, of which in previous state of the code it made sense(because it was being copied all over the place), but while traversing the problem space through DFS it doesn't make sense just because pushing and poping on a `std::vector` is way more cheaper than insertion and deletion within a `std::set`, as we only want to remember the increment of the state change between DFSs. PiperOrigin-RevId: 707890975
- Loading branch information