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

Remove duplicated code/branch to call into Milcore in Geometry #10386

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

h3xds1nz
Copy link
Member

@h3xds1nz h3xds1nz commented Feb 3, 2025

Description

Removes duplicate code to call MilUtility_PathGeometryWiden. This was overlooked in #9365 where it has previously made sense but after the change it is no longer the case.

fixed on a null array will return a null pointer so we may as well remove the branch altogether and let JIT do its thing. There's also no difference in perf, besides the removed the branch, that's always nice.

Customer Impact

Cleaner codebase for developrs.

Regression

Well, kinda, previously it made sense due to use of GCHandle, now its just a useless branch.

Testing

Local build.

Risk

Low.

@h3xds1nz h3xds1nz requested review from a team as code owners February 3, 2025 10:17
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant