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

placave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datasketches-go.git

commit 6950b3ed5d9ccff3f35c6b55d31065776d7fb80d
Merge: c3b63b3 d896e3f
Author: Pierre Lacave <[email protected]>
AuthorDate: Tue Mar 12 19:41:36 2024 +0100

    Merge pull request #17 from freakyzoidberg/example-and-common-serde
    
    Refactored common SerDe, Example and KLL doc

 common/array_of_longs_serde.go             |  81 +++++++++++
 common/array_of_strings_serde.go           | 131 +++++++++++++++++
 common/types.go                            |  11 ++
 common/{types.go => utils.go}              |   8 +-
 examples/frequency_example_test.go         |  85 +++++++++++
 examples/hll_example_test.go               |  99 +++++++++++++
 examples/kll_example_test.go               |  70 +++++++++
 frequencies/items_sketch.go                |  49 +++----
 frequencies/items_sketch_test.go           | 190 ++++---------------------
 frequencies/reverse_purge_item_hash_map.go |   5 +-
 frequencies/serde_compat_test.go           |   5 +-
 frequencies/sketch_serialization_test.go   |  19 +--
 hll/coupon_list_test.go                    |   6 +-
 hll/hll_sketch.go                          |  16 +--
 hll/union_test.go                          |   6 +-
 kll/items_sketch.go                        | 219 ++++++++++++++++++++++-------
 kll/items_sketch_iterator.go               |  10 +-
 kll/items_sketch_sorted_view.go            |  27 ++--
 kll/items_sketch_sorted_view_iterator.go   |   4 +
 kll/items_sketch_test.go                   | 206 +++++++--------------------
 kll/items_sketch_validate.go               |  13 +-
 kll/items_sletch_serialization_test.go     |   8 +-
 kll/utils.go                               |   4 -
 23 files changed, 820 insertions(+), 452 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to