Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make the ZLib P/Invokes all blittable#53968

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@AaronRobinsonMSFT
Copy link
Member

While prototyping aDllImport source generator it was observed the ZLib P/Invokes can all be converted to be blittable and thus inlinable during JIT.

/cc@elinor-fung

@ghost
Copy link

Tagging subscribers to this area:@carlossanlop
See info inarea-owners.md if you want to be subscribed.

Issue Details

While prototyping aDllImport source generator it was observed the ZLib P/Invokes can all be converted to be blittable and thus inlinable during JIT.

/cc@elinor-fung

Author:AaronRobinsonMSFT
Assignees:-
Labels:

area-System.IO.Compression

Milestone:6.0.0

Copy link
Member

@stephentoubstephentoub left a comment

Choose a reason for hiding this comment

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

Thanks.

@omariom
Copy link
Contributor

What makes them blittable?
The usage of pointers instead of refs so that pinning can be avoided?

@stephentoub
Copy link
Member

What makes them blittable? The usage of pointers instead of refs

Yes, a pointer is blittable, a managed reference is not.

omariom and AaronRobinsonMSFT reacted with thumbs up emoji

@AaronRobinsonMSFTAaronRobinsonMSFT merged commitc40ddeb intodotnet:mainJun 10, 2021
@AaronRobinsonMSFTAaronRobinsonMSFT deleted the make_pinvokes_blittable branchJune 10, 2021 21:58
@ghostghost locked asresolvedand limited conversation to collaboratorsJul 10, 2021
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@stephentoubstephentoubstephentoub approved these changes

@elinor-fungelinor-fungelinor-fung approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.0.0

Development

Successfully merging this pull request may close these issues.

5 participants

@AaronRobinsonMSFT@omariom@stephentoub@elinor-fung@jkoritzinsky

[8]ページ先頭

©2009-2025 Movatter.jp