You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2019/11/21 00:34:52 UTC

[incubator-datasketches-cpp] branch master updated (02ef2e8 -> 5c2700a)

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

leerho pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-cpp.git.


    from 02ef2e8  Add jupyter notebook python examples
     add 7d4d833  converted sketch and union to templates (allocator is not used yet), moved implementation out, return sketch by value
     add 22b1636  formatting
     add 4352eb0  header-only version
     add eddcdd8  removed unnecessary code
     add c3432dd  use std::vector and std::sort
     add 159b375  statinc inline row_col_from_two_hashes for performance
     add e29531d  union test
     add 94b563a  use vector for bit matrix
     add 271aa54  test reducing k
     add e91b8bc  common type definitions
     add 7ffbe1b  moved aliases to the front
     add ed6c431  added a brief description
     add 12bb6b7  return vector from unwrapping_get_items
     add d4e0b32  use vector to manage allocation and deallocation
     add 5168205  use vector
     add 3ebb158  use common typedefs
     add 7857332  use vector for temporary data
     add 275f637  fixed comments
     add f4813e8  init using new
     add 65f18d0  new CPC sketch API
     add aab6c62  gcc 9 compatibility
     add 9fc3a04  Merge branch 'master' into cpc_template
     add 4e47b3c  Merge branch 'cpc_template' of git@github.com:apache/incubator-datasketches-cpp.git into cpc_template
     add 128b185  restored custom sort for nearly sorted array since std::sort in gcc9 is slow in this case
     new 5c2700a  Merge pull request #70 from apache/cpc_template

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 cpc/CMakeLists.txt                                 |  68 +-
 cpc/include/common.h                               |  46 --
 .../{compressionData.h => compression_data.hpp}    |  43 +-
 cpc/include/counter_of_zeros.hpp                   | 105 +++
 cpc/include/cpc_common.hpp                         |  36 +-
 cpc/include/cpc_compressor.hpp                     | 147 ++++
 cpc/include/cpc_compressor_impl.hpp                | 741 +++++++++++++++++++
 .../cpc_confidence.hpp}                            | 121 +--
 cpc/include/cpc_sketch.hpp                         | 629 +++-------------
 cpc/include/cpc_sketch_impl.hpp                    | 807 ++++++++++++++++++++
 cpc/include/cpc_union.hpp                          |  91 +--
 cpc/include/cpc_union_impl.hpp                     | 332 +++++++++
 cpc/include/cpc_util.hpp                           | 137 ++++
 cpc/include/fm85.h                                 | 104 ---
 cpc/include/fm85Compression.h                      |  77 --
 cpc/include/fm85Confidence.h                       |  33 -
 cpc/include/fm85Merging.h                          | 100 ---
 cpc/include/fm85Util.h                             |  53 --
 cpc/include/iconEstimator.h                        |  29 -
 .../icon_estimator.hpp}                            | 156 +---
 cpc/include/inv_pow_2_tab.hpp                      | 107 +++
 cpc/include/kxp_byte_lookup.hpp                    |  81 ++
 cpc/include/u32Table.h                             |  73 --
 cpc/include/u32_table.hpp                          |  84 +++
 cpc/include/u32_table_impl.hpp                     | 266 +++++++
 cpc/src/cpc_sketch.cpp                             |  62 --
 cpc/src/fm85.cpp                                   | 430 -----------
 cpc/src/fm85Compression.cpp                        | 823 ---------------------
 cpc/src/fm85Merging.cpp                            | 315 --------
 cpc/src/fm85Util.cpp                               | 249 -------
 cpc/src/u32Table.cpp                               | 338 ---------
 cpc/test/compression_test.cpp                      |  39 +-
 cpc/test/cpc_sketch_test.cpp                       | 171 +++--
 cpc/test/cpc_union_test.cpp                        |  88 ++-
 python/src/cpc_wrapper.cpp                         |   8 +-
 theta/include/theta_sketch.hpp                     |   2 +-
 theta/include/theta_sketch_impl.hpp                |   2 +-
 37 files changed, 3336 insertions(+), 3657 deletions(-)
 delete mode 100644 cpc/include/common.h
 rename cpc/include/{compressionData.h => compression_data.hpp} (99%)
 create mode 100644 cpc/include/counter_of_zeros.hpp
 create mode 100644 cpc/include/cpc_compressor.hpp
 create mode 100644 cpc/include/cpc_compressor_impl.hpp
 rename cpc/{src/fm85Confidence.cpp => include/cpc_confidence.hpp} (52%)
 create mode 100644 cpc/include/cpc_sketch_impl.hpp
 create mode 100644 cpc/include/cpc_union_impl.hpp
 create mode 100644 cpc/include/cpc_util.hpp
 delete mode 100644 cpc/include/fm85.h
 delete mode 100644 cpc/include/fm85Compression.h
 delete mode 100644 cpc/include/fm85Confidence.h
 delete mode 100644 cpc/include/fm85Merging.h
 delete mode 100644 cpc/include/fm85Util.h
 delete mode 100644 cpc/include/iconEstimator.h
 rename cpc/{src/iconEstimator.cpp => include/icon_estimator.hpp} (78%)
 create mode 100644 cpc/include/inv_pow_2_tab.hpp
 create mode 100644 cpc/include/kxp_byte_lookup.hpp
 delete mode 100644 cpc/include/u32Table.h
 create mode 100644 cpc/include/u32_table.hpp
 create mode 100644 cpc/include/u32_table_impl.hpp
 delete mode 100644 cpc/src/cpc_sketch.cpp
 delete mode 100644 cpc/src/fm85.cpp
 delete mode 100644 cpc/src/fm85Compression.cpp
 delete mode 100644 cpc/src/fm85Merging.cpp
 delete mode 100644 cpc/src/fm85Util.cpp
 delete mode 100644 cpc/src/u32Table.cpp


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


[incubator-datasketches-cpp] 01/01: Merge pull request #70 from apache/cpc_template

Posted by le...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-cpp.git

View the commit online:
https://github.com/apache/incubator-datasketches-cpp/commit/5c2700ada98e60c27f5934a0b782a0dac7dacf95

commit 5c2700ada98e60c27f5934a0b782a0dac7dacf95
Merge: 02ef2e8 128b185
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Wed Nov 20 16:34:42 2019 -0800

    Merge pull request #70 from apache/cpc_template
    
    CPC sketch template

 cpc/CMakeLists.txt                                 |  68 +-
 cpc/include/common.h                               |  46 --
 .../{compressionData.h => compression_data.hpp}    |  43 +-
 cpc/include/counter_of_zeros.hpp                   | 105 +++
 cpc/include/cpc_common.hpp                         |  36 +-
 cpc/include/cpc_compressor.hpp                     | 147 ++++
 cpc/include/cpc_compressor_impl.hpp                | 741 +++++++++++++++++++
 .../cpc_confidence.hpp}                            | 121 +--
 cpc/include/cpc_sketch.hpp                         | 629 +++-------------
 cpc/include/cpc_sketch_impl.hpp                    | 807 ++++++++++++++++++++
 cpc/include/cpc_union.hpp                          |  91 +--
 cpc/include/cpc_union_impl.hpp                     | 332 +++++++++
 cpc/include/cpc_util.hpp                           | 137 ++++
 cpc/include/fm85.h                                 | 104 ---
 cpc/include/fm85Compression.h                      |  77 --
 cpc/include/fm85Confidence.h                       |  33 -
 cpc/include/fm85Merging.h                          | 100 ---
 cpc/include/fm85Util.h                             |  53 --
 cpc/include/iconEstimator.h                        |  29 -
 .../icon_estimator.hpp}                            | 156 +---
 cpc/include/inv_pow_2_tab.hpp                      | 107 +++
 cpc/include/kxp_byte_lookup.hpp                    |  81 ++
 cpc/include/u32Table.h                             |  73 --
 cpc/include/u32_table.hpp                          |  84 +++
 cpc/include/u32_table_impl.hpp                     | 266 +++++++
 cpc/src/cpc_sketch.cpp                             |  62 --
 cpc/src/fm85.cpp                                   | 430 -----------
 cpc/src/fm85Compression.cpp                        | 823 ---------------------
 cpc/src/fm85Merging.cpp                            | 315 --------
 cpc/src/fm85Util.cpp                               | 249 -------
 cpc/src/u32Table.cpp                               | 338 ---------
 cpc/test/compression_test.cpp                      |  39 +-
 cpc/test/cpc_sketch_test.cpp                       | 171 +++--
 cpc/test/cpc_union_test.cpp                        |  88 ++-
 python/src/cpc_wrapper.cpp                         |   8 +-
 theta/include/theta_sketch.hpp                     |   2 +-
 theta/include/theta_sketch_impl.hpp                |   2 +-
 37 files changed, 3336 insertions(+), 3657 deletions(-)


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