You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/06/01 16:30:06 UTC

[GitHub] [iceberg] chulucninh09 commented on a diff in pull request #4929: Improve binary pack/unpack performance using cached struct

chulucninh09 commented on code in PR #4929:
URL: https://github.com/apache/iceberg/pull/4929#discussion_r887008616


##########
python/src/iceberg/conversions.py:
##########
@@ -53,6 +53,13 @@
 from iceberg.utils.decimal import decimal_to_bytes, unscaled_to_decimal
 
 
+_bool_struct = Struct("<?")

Review Comment:
   @samredai @Fokko correct me if I'm wrong. I consider this cached instance instead of constant because most of the time const is scalar value to me. These are class instance, kind of too complex object to consider it const by my understanding



-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org