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 reflect.SliceHeader usage #480

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Mar 13, 2024

reflect.SliceHeader is deprecated in favor of unsafe functions introduced in go 1.20

alloc's fheader was unused, so remove, leaving only unsafeFastStringToReadOnlyBytes to port

@serprex serprex force-pushed the remove-reflect-slice-header branch from 04f1d04 to ef98077 Compare March 13, 2024 00:53
reflect.SliceHeader is deprecated in favor of unsafe functions introduced in go 1.20

alloc's fheader was unused, so remove, leaving only unsafeFastStringToReadOnlyBytes to port
@serprex serprex force-pushed the remove-reflect-slice-header branch from ef98077 to b641e5a Compare March 13, 2024 01:05
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.

1 participant