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 2025/01/10 18:34:39 UTC

(datasketches-cpp) branch fix_bit_packing updated: more rounds of pseudo-random data

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

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


The following commit(s) were added to refs/heads/fix_bit_packing by this push:
     new 9639606  more rounds of pseudo-random data
9639606 is described below

commit 9639606a1b41eccfb8959edfb2d1d8a3ecafb95b
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Fri Jan 10 10:34:33 2025 -0800

    more rounds of pseudo-random data
---
 theta/test/bit_packing_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/theta/test/bit_packing_test.cpp b/theta/test/bit_packing_test.cpp
index bc9e08f..b39f899 100644
--- a/theta/test/bit_packing_test.cpp
+++ b/theta/test/bit_packing_test.cpp
@@ -30,7 +30,7 @@ static const uint64_t IGOLDEN64 = 0x9e3779b97f4a7c13ULL;
 
 TEST_CASE("pack unpack bits") {
   uint64_t value = 0xaa55aa55aa55aa55ULL; // arbitrary starting value
-  for (int m = 0; m < 100; ++m) {
+  for (int m = 0; m < 10000; ++m) {
     for (uint8_t bits = 1; bits <= 63; ++bits) {
       int n = 8;
       const uint64_t mask = (1ULL << bits) - 1;
@@ -61,7 +61,7 @@ TEST_CASE("pack unpack bits") {
 
 TEST_CASE("pack unpack blocks") {
   uint64_t value = 0xaa55aa55aa55aa55ULL; // arbitrary starting value
-  for (int n = 0; n < 100; ++n) {
+  for (int n = 0; n < 10000; ++n) {
     for (uint8_t bits = 1; bits <= 63; ++bits) {
       const uint64_t mask = (1ULL << bits) - 1;
       std::vector<uint64_t> input(8, 0);


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