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

to_bsatn_extend/vec: use uninit instead of zeroed buffer #1204

Merged
merged 1 commit into from
May 14, 2024

Conversation

Centril
Copy link
Contributor

@Centril Centril commented May 3, 2024

Description of Changes

Changes to_bsatn_extend and to_bsatn_vec to use an uninitialized buffer instead of a zeroed one.
Panic safety turned out trivial to deal with.

API and ABI breaking changes

None

Expected complexity level and risk

2, some localized unsafe code.

@Centril Centril requested a review from gefjon May 3, 2024 22:14
@Centril Centril force-pushed the centril/uninit-bsatn-fast-path branch from e3c4bc4 to bbb1e81 Compare May 3, 2024 22:17
@bfops bfops added the release-any To be landed in any release window label May 13, 2024
@Centril Centril added this pull request to the merge queue May 14, 2024
Merged via the queue into master with commit 5154f79 May 14, 2024
7 checks passed
@Centril Centril deleted the centril/uninit-bsatn-fast-path branch May 14, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants