Skip to content

Conversation

@findepi
Copy link
Member

@findepi findepi commented Oct 13, 2024

Unsafe StructArray::new_unchecked is a more performant alternative to StructArray::new. In test code there is no benefit from using the unsafe code path.

Unsafe `StructArray::new_unchecked` is a more performant alternative to
`StructArray::new`. In test code there is no benefit from using the
unsafe code path.
@github-actions github-actions bot added the common Related to common crate label Oct 13, 2024
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you -- this makes sense to me

@alamb alamb merged commit 4a0b768 into apache:main Oct 15, 2024
24 checks passed
@findepi findepi deleted the findepi/remove-redundant-unsafe-in-test-423565 branch October 15, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants