Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize empty check for BinaryData #889

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

marcominerva
Copy link
Contributor

Motivation and Context (Why the change? What's the scenario?)

See #886 (comment)

High level description (Approach, Design)

Updated the condition to check if partitionContent is empty by using the IsEmpty property instead of converting it to a byte array and checking its length. This change improves efficiency and readability.

Updated the condition to check if `partitionContent` is empty by using the `IsEmpty` property instead of converting it to a byte array and checking its length. This change improves efficiency and readability.
@dluc dluc merged commit 829d2bc into microsoft:main Nov 13, 2024
6 checks passed
@marcominerva marcominerva deleted the binarydata_optimization branch November 15, 2024 07:57
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.

2 participants