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 Root;
|
||||||
int VisitIndex;
|
int VisitIndex;
|
||||||
};
|
};
|
||||||
int TarjanWalkId;
|
|
||||||
std::vector<int> TarjanVisited;
|
std::vector<int> TarjanVisited;
|
||||||
std::vector<int> TarjanComponents;
|
std::vector<int> TarjanComponents;
|
||||||
std::vector<TarjanEntry> TarjanEntries;
|
std::vector<TarjanEntry> TarjanEntries;
|
||||||
|
std::vector<NodeList> Components;
|
||||||
std::stack<int> TarjanStack;
|
std::stack<int> TarjanStack;
|
||||||
|
int TarjanWalkId;
|
||||||
int TarjanIndex;
|
int TarjanIndex;
|
||||||
void Tarjan();
|
void Tarjan();
|
||||||
void TarjanVisit(int i);
|
void TarjanVisit(int i);
|
||||||
|
|
||||||
// Connected components.
|
// Connected components.
|
||||||
std::vector<NodeList> Components;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue