You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2019/11/14 01:57:44 UTC

[incubator-datasketches-characterization] branch cpp_migration updated: removed unused code

This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch cpp_migration
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-characterization.git


The following commit(s) were added to refs/heads/cpp_migration by this push:
     new a7aec2b  removed unused code
a7aec2b is described below

commit a7aec2b6cf2acb5ac9d90ff13639e1a6470e5081
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Wed Nov 13 17:57:22 2019 -0800

    removed unused code
---
 cpp/src/frequent_items_sketch_timing_profile.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cpp/src/frequent_items_sketch_timing_profile.cpp b/cpp/src/frequent_items_sketch_timing_profile.cpp
index 03e6e29..42f53b7 100644
--- a/cpp/src/frequent_items_sketch_timing_profile.cpp
+++ b/cpp/src/frequent_items_sketch_timing_profile.cpp
@@ -82,13 +82,11 @@ void frequent_items_sketch_timing_profile::run() const {
     for (size_t i = 0; i < num_trials; i++) {
       const auto start_build(std::chrono::high_resolution_clock::now());
       frequent_longs_sketch sketch(lg_max_sketch_size);
-      //frequent_longs_sketch sketch(lg_max_sketch_size, lg_max_sketch_size);
       const auto finish_build(std::chrono::high_resolution_clock::now());
       build_time_ns += std::chrono::duration_cast<std::chrono::nanoseconds>(finish_build - start_build);
 
       // prepare values to exclude cost of random generator from the update loop
       for (size_t j = 0; j < stream_length; j++) {
-        //values[j] = geometric_distribution(generator);
         values[j] = zipf.sample();
       }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org