fix low hanging fruit when profiling...
[model-checker.git] / cyclegraph.cc
index aa3d24548a554ab039074282f5bab3246e3d3ccd..f4d3b93314b4ad22dba40d4d56043fd5643c01d1 100644 (file)
@@ -174,7 +174,7 @@ bool CycleGraph::checkReachable(const ModelAction *from, const ModelAction *to)
  */
 bool CycleGraph::checkReachable(CycleNode *from, CycleNode *to) {
        std::vector<CycleNode *, ModelAlloc<CycleNode *> > queue;
-       HashTable<CycleNode *, CycleNode *, uintptr_t, 4, model_malloc, model_calloc, model_free> discovered;
+       HashTable<CycleNode *, CycleNode *, uintptr_t, 4, model_malloc, model_calloc, model_free> discovered(64);
 
        queue.push_back(from);
        discovered.put(from, from);