Skip to content

Conversation

@zhjwpku
Copy link
Collaborator

@zhjwpku zhjwpku commented Sep 23, 2025

This will simplify the code and potentially optimize the binary due to the [[unlikely]] attribute in ICEBERG_CHECK.

This will simplify the code and potentially optimize the binary
due to the [[unlikely]] attribute in ICEBERG_CHECK.
@zhjwpku
Copy link
Collaborator Author

zhjwpku commented Sep 23, 2025

@mapleFU does this make sense to you

@zhjwpku zhjwpku requested a review from wgtmac September 23, 2025 15:02
Copy link

@suibianwanwank suibianwanwank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@mapleFU mapleFU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, but throw originally might already have internal unlikely in most compilers, so I think it just make code shorter

@zhjwpku
Copy link
Collaborator Author

zhjwpku commented Sep 24, 2025

This looks good to me, but throw originally might already have internal unlikely in most compilers, so I think it just make code shorter

Fair enough, thanks for the review.

Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this.

@Xuanwo Xuanwo merged commit e7509f2 into apache:main Sep 24, 2025
7 checks passed
@zhjwpku zhjwpku deleted the use_iceberg_check_other_than_throw branch September 24, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants