File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ void FixedSizeSketchColumn::atomic_update(const vec_t update) {
125125 det_gamma.fetch_xor (checksum);
126126 bucket_alpha.fetch_xor (update);
127127 bucket_gamma.fetch_xor (checksum);
128+ // todo - gccc intrinsics?
128129
129130}
130131
You can’t perform that action at this time.
0 commit comments