Skip to content

Commit d352966

Browse files
committed
more reasonable defaults
1 parent 747fe8a commit d352966

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/bucket_buffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class BucketBuffer {
115115
}
116116

117117
public:
118-
BucketBuffer(): _capacity(128) {
118+
BucketBuffer(): _capacity(64) {
119119
entries = std::vector<BufferEntry>();
120120
entries.reserve(_capacity);
121121
}

include/sketch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ class Sketch {
8282
* @return The length of the vector to sketch
8383
*/
8484
static vec_t calc_vector_length(node_id_t num_vertices) {
85-
return ceil(double(num_vertices) * (num_vertices - 1) / 2);
85+
// return ceil(double(num_vertices) * (num_vertices - 1) / 2);
8686
// return num_vertices * 2;
87-
// return 50; // round to something thats approx 2^6
87+
return 50; // round to something thats approx 2^6
8888
// return 3;
8989
// return 15;
9090
// return 1 + num_vertices / 16 ;

0 commit comments

Comments
 (0)