summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeComponentGraph.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-07 07:43:11 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 07:43:39 (GMT)
commitd9df7fa70c854207bb36b45ca0fdca6665bd4bd8 (patch)
tree5e32241181d61791ef0b90c4d81e6fe65564ec03 /Source/cmComputeComponentGraph.h
parentdb24e41b9d939fb8ad9106f7a8511670505a8ad0 (diff)
downloadCMake-d9df7fa70c854207bb36b45ca0fdca6665bd4bd8.zip
CMake-d9df7fa70c854207bb36b45ca0fdca6665bd4bd8.tar.gz
CMake-d9df7fa70c854207bb36b45ca0fdca6665bd4bd8.tar.bz2
cmComputeComponentGraph: Re-arrange data layout.
Size goes from 224 to 216 bytes.
Diffstat (limited to 'Source/cmComputeComponentGraph.h')
-rw-r--r--Source/cmComputeComponentGraph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeComponentGraph.h b/Source/cmComputeComponentGraph.h
index a2ce946..4dbac4a 100644
--- a/Source/cmComputeComponentGraph.h
+++ b/Source/cmComputeComponentGraph.h
@@ -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