cmComputeComponentGraph: Re-arrange data layout.
Size goes from 224 to 216 bytes.
This commit is contained in:
parent
db24e41b9d
commit
d9df7fa70c
|
@ -67,17 +67,17 @@ private:
|
|||
int Root;
|
||||
int VisitIndex;
|
||||
};
|
||||
int TarjanWalkId;
|
||||
std::vector<int> TarjanVisited;
|
||||
std::vector<int> TarjanComponents;
|
||||
std::vector<TarjanEntry> TarjanEntries;
|
||||
std::vector<NodeList> Components;
|
||||
std::stack<int> TarjanStack;
|
||||
int TarjanWalkId;
|
||||
int TarjanIndex;
|
||||
void Tarjan();
|
||||
void TarjanVisit(int i);
|
||||
|
||||
// Connected components.
|
||||
std::vector<NodeList> Components;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue