No need to copy the RPOT vector before using it. Switch from std::map
to SmallDenseMap. Get rid of an unused variable (TempVisited). Get rid
of a typedef, RNVector, which is now used only once.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 1506 Build 1506: arc lint + arc unit
Event Timeline
Comment Actions
Unlike D26998, there should be no performance question here, because ReversePostOrderTraversal itself builds a vector -- previously we were just copying that vector before iterating over it.