RkGrit commented on code in PR #110:
URL: https://github.com/apache/tsfile/pull/110#discussion_r1650278912


##########
cpp/src/encoding/bitpack_encoder.h:
##########
@@ -167,6 +165,24 @@ class BitPackEncoder {
         bytes_buffer_.clear();
         bitpacked_group_count_ = 0;
     }
+
+    int get_max_byte_size() {
+        if (values_.empty()) {
+            return 0;
+        }
+        int maxBitWidth = get_int_max_bit_width(values_);

Review Comment:
   Ok, I will optimize this place.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to