Skip to content

Commit 676b2e5

Browse files
committed
adjust constant
1 parent 8d432dd commit 676b2e5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/sparse_sketch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class SparseSketch {
5656
// Allocated buckets
5757
Bucket* buckets;
5858

59-
static constexpr size_t min_num_dense_rows = 5;
59+
static constexpr size_t min_num_dense_rows = 6;
6060
size_t num_dense_rows = min_num_dense_rows;
6161

6262
// Variables for sparse representation of lower levels of bucket Matrix

src/cc_sketch_alg.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -534,11 +534,11 @@ ConnectedComponents CCSketchAlg::connected_components() {
534534
bool except = false;
535535
std::exception_ptr err;
536536
try {
537-
auto start = std::chrono::steady_clock::now();
537+
// auto start = std::chrono::steady_clock::now();
538538
boruvka_emulation();
539-
std::cout << " boruvka's algorithm = "
540-
<< std::chrono::duration<double>(std::chrono::steady_clock::now() - start).count()
541-
<< std::endl;
539+
// std::cout << " boruvka's algorithm = "
540+
// << std::chrono::duration<double>(std::chrono::steady_clock::now() - start).count()
541+
// << std::endl;
542542
} catch (...) {
543543
except = true;
544544
err = std::current_exception();

0 commit comments

Comments
 (0)